| 1 |
jmm-guest |
13122 |
A Narrative Introduction to the Debian Security Tracker |
| 2 |
micah |
2985 |
|
| 3 |
|
|
|
| 4 |
|
|
About |
| 5 |
|
|
----- |
| 6 |
|
|
|
| 7 |
jmm-guest |
13122 |
Everything in the Debian Security Tracker is publicly available, as in |
| 8 |
micah |
2985 |
"Debian doesn't hide problems" available. |
| 9 |
|
|
|
| 10 |
|
|
The best thing about our tracking 'system' is that it is very basic. |
| 11 |
|
|
There is no horrible overhead of web-based ticket/issue trackers, its |
| 12 |
|
|
just a subversion repository and some text files that we |
| 13 |
|
|
collaboratively edit and then some scripts to parse these files and |
| 14 |
|
|
generate useful reports available online. Everything is designed to be |
| 15 |
tedp-guest |
6022 |
very simple to use, transparent and easy to see what other people are |
| 16 |
micah |
2985 |
working on so you can work on other things. |
| 17 |
|
|
|
| 18 |
micah |
3520 |
Gentle Introduction |
| 19 |
micah |
2985 |
-------------------- |
| 20 |
|
|
|
| 21 |
|
|
This following will give you a basic walk-through of how the files are |
| 22 |
jmm-guest |
13122 |
structured and how we do our work tracking issues. |
| 23 |
micah |
2985 |
|
| 24 |
|
|
The best way to understand is to check out our repository from |
| 25 |
|
|
subversion so you have the files on your computer and can follow along |
| 26 |
gilbert-guest |
16970 |
at home. To do this you just need to do the following: |
| 27 |
micah |
2985 |
|
| 28 |
gilbert-guest |
12667 |
svn co svn+ssh://<alioth user name>@svn.debian.org/svn/secure-testing |
| 29 |
micah |
2985 |
|
| 30 |
gilbert-guest |
16970 |
This will check out the working repository (given that you already have |
| 31 |
|
|
an alioth account and public key authentication already set up, see |
| 32 |
|
|
http://wiki.debian.org/Alioth/SSH). After successfully downloading, |
| 33 |
|
|
you will have a new directory called secure-testing. Inside this directory |
| 34 |
|
|
are a number of subdirectories. The data directory is where we do most of |
| 35 |
|
|
our work. Note that the name of the Subversion repository is historical; |
| 36 |
|
|
the tracker is not specially related to testing-security, but for Debian |
| 37 |
|
|
security at large. |
| 38 |
micah |
2985 |
|
| 39 |
gilbert-guest |
16970 |
If you don't have an Alioth account, you can create one at: |
| 40 |
|
|
|
| 41 |
gilbert-guest |
12667 |
https://alioth.debian.org/account/register.php |
| 42 |
|
|
|
| 43 |
gilbert-guest |
13121 |
You can then join the team by clicking the 'Request to join' link at: |
| 44 |
|
|
|
| 45 |
|
|
https://alioth.debian.org/projects/secure-testing |
| 46 |
|
|
|
| 47 |
jmm-guest |
2991 |
If you don't need write access, you can of course check out our files |
| 48 |
|
|
without an Alioth account as well: |
| 49 |
|
|
|
| 50 |
|
|
svn co svn://svn.debian.org/svn/secure-testing |
| 51 |
|
|
|
| 52 |
gilbert-guest |
12667 |
If you are a git fan, you can also use git-svn. Once you have the |
| 53 |
|
|
git-svn package installed, you can clone the subversion repository into |
| 54 |
|
|
your own local git repository with: |
| 55 |
|
|
|
| 56 |
|
|
git svn clone svn+ssh://<alioth user account>@svn.debian.org/svn/secure-testing |
| 57 |
|
|
|
| 58 |
|
|
Note that this will take a very long time (expect over two hours) since |
| 59 |
|
|
every commit from the very beginning (over 12,000 at this point) is |
| 60 |
|
|
checked out individually and merged into your git repository. |
| 61 |
|
|
|
| 62 |
|
|
Subversion and git-svn Crash Course |
| 63 |
|
|
----------------------------------- |
| 64 |
|
|
|
| 65 |
|
|
The following table lists the most common/useful commands for working |
| 66 |
|
|
with the secure-testing repository: |
| 67 |
|
|
|
| 68 |
|
|
subversion | git-svn | action |
| 69 |
|
|
-----------------+-------------------+------------------------------ |
| 70 |
|
|
svn update | git svn rebase | sync your local repo from |
| 71 |
|
|
| | remote secure-testing repo |
| 72 |
|
|
-----------------+-------------------+------------------------------ |
| 73 |
|
|
svn commit | git commit -a | commit your changes to the |
| 74 |
|
|
| git svn dcommit | remote secure-testing repo |
| 75 |
|
|
| | (note that 'git commit -a' |
| 76 |
|
|
| | only updates your local repo) |
| 77 |
|
|
-----------------+-------------------+------------------------------ |
| 78 |
|
|
svn diff | git diff | compare your local repo to |
| 79 |
|
|
| | remote secure-testing repo |
| 80 |
|
|
-----------------+-------------------+------------------------------ |
| 81 |
|
|
|
| 82 |
micah |
2985 |
Automatic Issue Updates |
| 83 |
|
|
----------------------- |
| 84 |
gilbert-guest |
12800 |
|
| 85 |
micah |
2985 |
Twice a day a cronjob runs that pulls down the latest full CVE lists |
| 86 |
thijs |
8409 |
from Mitre, this automatically gets checked into data/CVE/list, and |
| 87 |
|
|
also syncs that file with other lists like data/DSA/list and |
| 88 |
|
|
data/DTSA/list. |
| 89 |
|
|
|
| 90 |
|
|
We get notified via either email |
| 91 |
micah |
2985 |
(http://lists.alioth.debian.org/mailman/listinfo/secure-testing-commits) |
| 92 |
pabs |
19273 |
of every SVN commit |
| 93 |
carnil |
21219 |
or via the KGB bot on #debian-security on OFTC. For example, the bot |
| 94 |
micah |
2985 |
will say in the channel: |
| 95 |
|
|
|
| 96 |
carnil |
21219 |
17:14 < KGB-0> joeyh r21191 data/CVE/list * automatic update |
| 97 |
micah |
2985 |
|
| 98 |
|
|
Most of our work is taking the new issues that Mitre releases and |
| 99 |
|
|
processing them so that the tracking data is correct. Read on for how we |
| 100 |
|
|
do this. |
| 101 |
|
|
|
| 102 |
neilm |
5083 |
Processing TODO entries |
| 103 |
micah |
2985 |
----------------------- |
| 104 |
gilbert-guest |
12800 |
|
| 105 |
micah |
2985 |
The Mitre update typically manifests in new CVE entries. So what we do |
| 106 |
|
|
is to update our svn repository and then edit data/CVE/list and look |
| 107 |
|
|
for new TODO entries. These will often be in blocks of 10-50 or so, |
| 108 |
gilbert-guest |
14458 |
depending on how many new issues they have assigned. |
| 109 |
micah |
2985 |
|
| 110 |
gilbert-guest |
14458 |
IMPORTANT: make sure to read: |
| 111 |
|
|
http://lists.alioth.debian.org/pipermail/secure-testing-team/2009-May/002394.html |
| 112 |
micah |
2985 |
|
| 113 |
gilbert-guest |
14458 |
Issues NOT-FOR-US (NFU) |
| 114 |
micah |
2985 |
----------------------- |
| 115 |
gilbert-guest |
12800 |
|
| 116 |
gilbert-guest |
14458 |
Processing entries is done by first seeing if the issue is related to any |
| 117 |
|
|
software packaged in Debian. If it isn't a package in Debian and has no |
| 118 |
|
|
ITP then you note that in the file with a 'NOT-FOR-US:' tag. Third-party |
| 119 |
gilbert-guest |
14459 |
modules not yet packaged for Debian are also tagged as NFU; even if their |
| 120 |
|
|
parent software is packaged for Debian. The module names should be |
| 121 |
gilbert-guest |
14458 |
mentioned in the NFU note in order to make issues apparent if that module |
| 122 |
|
|
should ever receive a propper package. Another case are meta packages |
| 123 |
|
|
that only provide a downloader (e.g. flashplugin-nonfree). There is no |
| 124 |
|
|
way to mark such packages as we have no influence on the version and |
| 125 |
|
|
technically the code is not present in Debian. |
| 126 |
micah |
2985 |
|
| 127 |
nion |
10534 |
Example: |
| 128 |
|
|
|
| 129 |
micah |
2985 |
CVE-2005-3018 (Apple Safari allows remote attackers to cause a denial of |
| 130 |
|
|
service ...) |
| 131 |
|
|
NOT-FOR-US: Safari |
| 132 |
|
|
|
| 133 |
jrdioko-guest |
16978 |
Before marking a package NOT-FOR-US, the following should be done: |
| 134 |
|
|
- Read the full CVE description to determine the product name |
| 135 |
|
|
- Search for the product using apt-cache search <name> |
| 136 |
|
|
- If a file was referenced, search for the file using |
| 137 |
|
|
apt-file search <name> |
| 138 |
|
|
- Search the wnpp list (http://www.debian.org/devel/wnpp/) to see |
| 139 |
|
|
if the product has an ITP or RFP (see "ITP/RFP packages" below) |
| 140 |
|
|
- Search the ftp-master removal list |
| 141 |
|
|
(http://ftp-master.debian.org/removals-full.txt) or the Package |
| 142 |
|
|
Tracking System (http://packages.qa.debian.org/) to see if the |
| 143 |
|
|
package was present in the past but was removed (see "Removed |
| 144 |
|
|
packages" below) |
| 145 |
|
|
|
| 146 |
|
|
If there is any doubt, add a NOTE with your findings and ask others to |
| 147 |
|
|
double check. |
| 148 |
|
|
|
| 149 |
stef-guest |
8325 |
There is a tool that helps with sorting out all the NOT-FOR-US issues: |
| 150 |
|
|
See "bin/check-new-issues -h". For the search functions in |
| 151 |
|
|
check-new-issues to work, you need to have unstable in your |
| 152 |
|
|
sources.list and have done "apt-get update" and "apt-file update". |
| 153 |
jrdioko-guest |
16978 |
Having libterm-readline-gnu-perl installed helps, too. If you are not |
| 154 |
|
|
running unstable, you can search at http://packages.debian.org or |
| 155 |
|
|
set up an unstable chroot: |
| 156 |
stef-guest |
8325 |
|
| 157 |
jrdioko-guest |
16978 |
http://www.debian.org/doc/manuals/reference/ch09#_chroot_system |
| 158 |
|
|
http://wiki.debian.org/Debootstrap |
| 159 |
nion |
8327 |
|
| 160 |
gilbert-guest |
17015 |
Undetermined Tags |
| 161 |
|
|
----------------- |
| 162 |
|
|
|
| 163 |
|
|
If you don't have time to fully research an issue, but it is abundantly |
| 164 |
|
|
clear (via CVE text or other announcement) that the issue affects a |
| 165 |
|
|
particular package or set of packages, the <undetermined> tag can be |
| 166 |
|
|
used. This has the advantage of entering the issue earlier in the |
| 167 |
|
|
output of debsecan and on the pts pages, which is useful for the small |
| 168 |
|
|
set of proactive maintainers paying attention to these information |
| 169 |
jrdioko-guest |
17044 |
sources. Getting the maintainer involved hopefully prompts faster |
| 170 |
gilbert-guest |
17015 |
fixes. This also allows enables tracking of multiple packages, some |
| 171 |
|
|
of which may already be fixed. |
| 172 |
|
|
|
| 173 |
|
|
<undetermined> can also be used when there simply is not enough |
| 174 |
|
|
information disclosed in the existing known references about the |
| 175 |
|
|
issue. Essentially, <undetermined> indicates that someone needs |
| 176 |
|
|
to come back and revisit the issue. An example undetermined |
| 177 |
|
|
entry is: |
| 178 |
|
|
|
| 179 |
|
|
CVE-2011-2351 (Use-after-free vulnerability in Google Chrome before 12.0.742.112 ...) |
| 180 |
|
|
- chromium-browser 12.0.742.112~r90304-1 |
| 181 |
|
|
- webkit <undetermined> |
| 182 |
|
|
NOTE: webkit commit #123456 |
| 183 |
|
|
|
| 184 |
|
|
The list of all of currently undetermined issues is aggregated at: |
| 185 |
|
|
http://security-tracker.debian.org/tracker/status/undetermined |
| 186 |
|
|
|
| 187 |
|
|
This is a good place for new contributors to get started since these |
| 188 |
|
|
are issues that can be pruned quickly for new information that may |
| 189 |
|
|
not have been known during the initial disclosure, and thus marked |
| 190 |
|
|
<unfixed> for further work or closed with a version number. Please |
| 191 |
|
|
add notes if you do change an undetermined issue to unfixed (unless |
| 192 |
|
|
you're also fixing the issue in the process, which is of course the |
| 193 |
|
|
ideal way to help/contribute). |
| 194 |
|
|
|
| 195 |
gilbert-guest |
17008 |
Issues in ITP and/or RFP packages |
| 196 |
|
|
--------------------------------- |
| 197 |
jrdioko-guest |
16978 |
|
| 198 |
gilbert-guest |
17008 |
If an issue is discovered in a package that has an RFP or ITP already filed, |
| 199 |
|
|
then that is also noted in order to track the problem, and make sure it is |
| 200 |
|
|
resolved before the package enters the archive. These issues are marked with |
| 201 |
|
|
the <itp> tag. Note this includes both ITPs and RFPs since (from a security |
| 202 |
|
|
tracking standpoint) there is no advantage in tracking them in separate ways. |
| 203 |
|
|
An example entry for an ITP/RFP package is: |
| 204 |
jrdioko-guest |
16978 |
|
| 205 |
|
|
CVE-2004-2525 (Cross-site scripting (XSS) vulnerability in compat.php |
| 206 |
|
|
in Serendipity ...) |
| 207 |
|
|
- serendipity <itp> (bug #312413) |
| 208 |
|
|
|
| 209 |
jmm-guest |
3029 |
Reserved entries |
| 210 |
|
|
---------------- |
| 211 |
gilbert-guest |
12800 |
|
| 212 |
jmm-guest |
3029 |
Several security problems have coordinated dates of public disclosure, |
| 213 |
|
|
i.e. a CVE identifier has been assigned to a problem, but it's not |
| 214 |
|
|
public yet. Also, several vendors have a pool of CVE ids they can |
| 215 |
|
|
assign to problems that are detected in their products. Such entries |
| 216 |
|
|
are marked as RESERVED in the tracker: |
| 217 |
micah |
2985 |
|
| 218 |
jmm-guest |
3029 |
CVE-2005-1432 |
| 219 |
|
|
RESERVED |
| 220 |
|
|
|
| 221 |
|
|
Rejected entries |
| 222 |
|
|
---------------- |
| 223 |
gilbert-guest |
12800 |
|
| 224 |
jmm-guest |
3029 |
Sometimes there are CVE assignments that later turn out to be duplicates, |
| 225 |
|
|
mistakes or non-issues. These items are reverted and turned into REJECTED |
| 226 |
|
|
entries: |
| 227 |
|
|
|
| 228 |
|
|
CVE-2005-4129 |
| 229 |
|
|
REJECTED |
| 230 |
|
|
|
| 231 |
micah |
2985 |
Packages in the archive |
| 232 |
|
|
----------------------- |
| 233 |
gilbert-guest |
12800 |
|
| 234 |
neilm |
5083 |
If it is a package in Debian, look to see if the package is affected or |
| 235 |
|
|
not (sometimes newer versions that have the fixes have already been |
| 236 |
|
|
uploaded). |
| 237 |
micah |
2985 |
|
| 238 |
|
|
If the version has been fixed already, note the package name and the |
| 239 |
|
|
Debian version that fixes it and assign a severity level to it, for |
| 240 |
|
|
example: |
| 241 |
|
|
|
| 242 |
|
|
CVE-2005-2596 (User.php in Gallery, as used in Postnuke, allows users |
| 243 |
|
|
with any Admin ...) |
| 244 |
|
|
- gallery 1.5-2 (medium) |
| 245 |
|
|
|
| 246 |
jrdioko-guest |
16979 |
Even if the CVE description mentions it is fixed as of a particular |
| 247 |
|
|
version, double-check the Debian package yourself (because sometimes |
| 248 |
|
|
the CVE descriptions or information from databases like Secunia is |
| 249 |
|
|
incorrect). |
| 250 |
|
|
|
| 251 |
neilm |
5083 |
If it hasn't been fixed, we determine if there has been a bug filed |
| 252 |
|
|
about the issue, and if not, file one and then note it in the list |
| 253 |
|
|
(again with a severity level): |
| 254 |
micah |
2985 |
|
| 255 |
|
|
CVE-2005-3054 (fopen_wrappers.c in PHP 4.4.0, and possibly other |
| 256 |
|
|
versions, does not ...) |
| 257 |
|
|
- php4 <unfixed> (bug #353585; medium) |
| 258 |
|
|
- php5 <unfixed> (bug #353585; medium) |
| 259 |
|
|
|
| 260 |
stef-guest |
4001 |
Bug numbers can be added as in the example above. To avoid duplicate bugs, |
| 261 |
|
|
"bug filed" can be added instead of "bug #123456" when the bug report has |
| 262 |
gilbert-guest |
11654 |
been sent but the bug number is not yet known (however, it is more |
| 263 |
|
|
desirable to file the bug, wait for the BTS to assign a number, then update |
| 264 |
|
|
the entry in the CVE list so that complete information is always available |
| 265 |
|
|
in the tracker). The bug number is important because it makes it clear |
| 266 |
|
|
that the maintainer has been contacted about the problem, and that they are |
| 267 |
gilbert-guest |
12570 |
aware of their responsibility to work swiftly toward a fix. |
| 268 |
jmm-guest |
3039 |
|
| 269 |
gilbert-guest |
11654 |
Since CVEs often drop in bulk, submission of multiple CVEs in a single bug |
| 270 |
|
|
report is permissable and encouraged. However, some maintainers have |
| 271 |
|
|
indicated a preference for only one issue per bug report. The following |
| 272 |
|
|
is a list of packages for which each CVE should be reported separately: |
| 273 |
|
|
- php5 |
| 274 |
gilbert-guest |
18038 |
- libav |
| 275 |
gilbert-guest |
11654 |
|
| 276 |
micah |
15171 |
A special exception is made for kernel related issues. The kernel-sec group |
| 277 |
|
|
will take care of them. It is not necessary to file bugs in the BTS for kernel |
| 278 |
|
|
security issues, it only causes overhead. |
| 279 |
nion |
6896 |
|
| 280 |
luk |
17944 |
If you want to report a bug, bin/report-vuln might be helpful in creating |
| 281 |
nion |
8437 |
the bug report. |
| 282 |
|
|
|
| 283 |
jmm-guest |
3029 |
If a vulnerability does not affect Debian, e.g. because the vulnerable |
| 284 |
|
|
code is not contained, it is marked as <not-affected>: |
| 285 |
|
|
|
| 286 |
|
|
CVE-2004-2628 (Multiple directory traversal vulnerabilities in thttpd 2.07 beta 0.4, ...) |
| 287 |
|
|
- thttpd <not-affected> (Windows-specific vulnerabilities) |
| 288 |
|
|
|
| 289 |
|
|
<not-affected> is also used if a vulnerability was fixed before a |
| 290 |
|
|
package was uploaded into the Debian archive. |
| 291 |
|
|
|
| 292 |
gilbert-guest |
12800 |
Removed packages |
| 293 |
|
|
---------------- |
| 294 |
|
|
|
| 295 |
jmm-guest |
3029 |
Sometimes there are cases, where a vulnerability hasn't been fixed with |
| 296 |
|
|
a code change, but simply by deciding that a package is that broken that |
| 297 |
|
|
it needs to be removed from the archive entirely. This is tracked with |
| 298 |
|
|
the <removed> tag: |
| 299 |
|
|
|
| 300 |
|
|
CVE-2005-1435 (Open WebMail (OWM) before 2.51 20050430 allows remote authenticated ...) |
| 301 |
|
|
- openwebmail <removed> |
| 302 |
|
|
|
| 303 |
nion |
12563 |
Also note that it is sufficient to mark a package as removed in unstable. |
| 304 |
gilbert-guest |
12564 |
The tracker is aware of which package is present in which distribution |
| 305 |
nion |
12563 |
and marks other distributions that still contain the package automagically |
| 306 |
gilbert-guest |
12565 |
as unfixed. For example, if libxml is in oldstable, but not stable or |
| 307 |
|
|
unstable, then: |
| 308 |
nion |
12563 |
|
| 309 |
gilbert-guest |
12564 |
- libxml <removed> |
| 310 |
|
|
|
| 311 |
|
|
will track oldstable as affected, but stable and unstable as not-affected. |
| 312 |
|
|
|
| 313 |
gilbert-guest |
12800 |
Once a package has been completely removed from all currently supported |
| 314 |
|
|
debian releases, it should be tracked in the data/packages/removed-packages |
| 315 |
|
|
file. This file lists all packages (one source package per line) that were |
| 316 |
|
|
at one time in a debian release, but no longer exist in any supported |
| 317 |
|
|
version. Additions to this file can be used to address failing consistency |
| 318 |
|
|
checks after a new release. |
| 319 |
|
|
|
| 320 |
jmm-guest |
2991 |
Severity levels |
| 321 |
|
|
--------------- |
| 322 |
gilbert-guest |
12800 |
|
| 323 |
jmm-guest |
2991 |
These levels are mostly used to prioritize the order in which security |
| 324 |
|
|
problems are resolved. Anyway, we have a rough overview on how you should |
| 325 |
djoume-guest |
5280 |
assess these levels. |
| 326 |
jmm-guest |
2991 |
|
| 327 |
|
|
unimportant: This problem does not affect the Debian binary package, e.g. |
| 328 |
djoume-guest |
5280 |
a vulnerable source file, which is not built, a vulnerable file |
| 329 |
|
|
in doc/foo/examples/, PHP Safe mode bugs, path disclosure (doesn't |
| 330 |
|
|
matter on Debian). |
| 331 |
|
|
All "non-issues in practice" fall also into this category, like |
| 332 |
|
|
issues only "exploitable" if the code in question is setuid root, |
| 333 |
|
|
exploits which only work if someone already has administrative |
| 334 |
|
|
privileges or similar. |
| 335 |
|
|
|
| 336 |
jmm-guest |
2991 |
low : A security problem, which has only mild security implications |
| 337 |
nion |
7786 |
(local DoS, /tmp file races and so on). |
| 338 |
djoume-guest |
5280 |
|
| 339 |
|
|
medium : For anything which permits code execution after user interaction. |
| 340 |
|
|
Local privilege escalation vulnerabilities are in this category as |
| 341 |
|
|
well, or remote privilege escalation if it's constrained to the |
| 342 |
|
|
application (i.e. no shell access to the underlying system, such |
| 343 |
|
|
as simple cross-site scripting). Most remote DoS vulnerabilities |
| 344 |
|
|
fall into this category, too. |
| 345 |
|
|
|
| 346 |
jmm-guest |
2991 |
high : A typical, exploitable security problem, which you'll really |
| 347 |
jmm-guest |
3029 |
like to fix or at least implement a workaround. This could |
| 348 |
jmm-guest |
2991 |
be because the vulnerable code is very broadly used, because |
| 349 |
|
|
an exploit is in the wild or because the attack vector is |
| 350 |
djoume-guest |
5280 |
very wide. |
| 351 |
|
|
Should be put into that category anything that permits an attacker |
| 352 |
|
|
to execute arbitrary code on the vulnerable system (with or |
| 353 |
|
|
without root privileges) and high-impact denial-of-service bugs |
| 354 |
|
|
(for instance, an IPv4 forwarding path vulnerability which |
| 355 |
|
|
requires only very few packets to exploit). |
| 356 |
|
|
Significant defects in security software can be rated "high" as |
| 357 |
|
|
well (for instance, a vulnerability in a piece of cryptographic |
| 358 |
|
|
software which flags forged digital signatures as genuine). |
| 359 |
jmm-guest |
2991 |
|
| 360 |
djoume-guest |
5280 |
|
| 361 |
|
|
Certain packages may get higher or lower rating than usual, based on |
| 362 |
|
|
their importance. |
| 363 |
|
|
|
| 364 |
|
|
|
| 365 |
micah |
2985 |
NOTE and TODO entries |
| 366 |
|
|
--------------------- |
| 367 |
gilbert-guest |
12800 |
|
| 368 |
micah |
2985 |
There are many instances where more work has to be done to determine |
| 369 |
|
|
if something is affected, and you might not be able to do this at the |
| 370 |
|
|
time. These entries can have their TODO line changed to something |
| 371 |
|
|
descriptive so that it is clear what remains to be done. For example: |
| 372 |
|
|
|
| 373 |
|
|
CVE-2005-3990 (Directory traversal vulnerability in FastJar 0.93 |
| 374 |
|
|
allows remote ...) |
| 375 |
|
|
TODO: check, whether fastjar from the gcc source packages is affected |
| 376 |
|
|
|
| 377 |
|
|
It is also useful to add information to issues as you find it, so that |
| 378 |
|
|
when others go to look at an issue and want to know why you marked it |
| 379 |
|
|
as you did, or need a reference, it will be there. The more |
| 380 |
|
|
information left, the better. For example, the following entry lets |
| 381 |
|
|
you know that CVE-2005-3258 doesn't affect the squid that we have |
| 382 |
|
|
because the issue was introduced in a patch that was never applied to |
| 383 |
|
|
the Debian package: |
| 384 |
|
|
|
| 385 |
|
|
CVE-2005-3258 (The rfc1738_do_escape function in ftp.c for Squid 2.5 |
| 386 |
|
|
STABLE11 and ...) |
| 387 |
|
|
- squid <not-affected> (bug #334882; medium) |
| 388 |
|
|
NOTE: Bug was introduced in a patch to squid-2.5.STABLE10, |
| 389 |
|
|
NOTE: this patch was never applied to the Debian package. |
| 390 |
|
|
|
| 391 |
fw |
11279 |
CVE assignments |
| 392 |
|
|
--------------- |
| 393 |
gilbert-guest |
12800 |
|
| 394 |
fw |
11279 |
Debian can only assign CVE names from its own pool for issues which |
| 395 |
|
|
are not public. To request a CVE from the Debian pool, write to |
| 396 |
jmm-guest |
13122 |
<team@security.debian.org> and include a description which follows CVE |
| 397 |
fw |
11280 |
conventions. To request a CVE for public issues, write to Mitre and |
| 398 |
fw |
11279 |
possibly to the moderated oss-security list. In the meantime, you can |
| 399 |
|
|
add an entry of the form |
| 400 |
|
|
|
| 401 |
|
|
CVE-2009-XXXX [optipng array overflow] |
| 402 |
|
|
- optipng 0.6.2.1-1 (low) |
| 403 |
|
|
NOTE: http://secunia.com/advisories/34035/ |
| 404 |
|
|
|
| 405 |
|
|
in the data/CVE/list file. It is desirable to include references |
| 406 |
|
|
which uniquely identify the issue, such as a permanent link to an |
| 407 |
|
|
entry in the upstream bug tracker, or a bug in the Debian BTS. If the |
| 408 |
|
|
issue is likely present in unstable, a bug should be filed to help the |
| 409 |
|
|
maintainer to track it. |
| 410 |
|
|
|
| 411 |
|
|
Lack of CVE entries should not block advisory publication which are |
| 412 |
|
|
otherwise ready, but we should strieve to release fully |
| 413 |
|
|
cross-referenced advisories nevertheless. |
| 414 |
|
|
|
| 415 |
jmm-guest |
3027 |
Distribution tags |
| 416 |
|
|
----------------- |
| 417 |
gilbert-guest |
12800 |
|
| 418 |
jmm-guest |
3027 |
Our data is primarily targeted at sid, as we track the version that |
| 419 |
|
|
a certain issue was fixed in sid. The Security Tracker web site (see |
| 420 |
|
|
below) derives information about the applicability of a vulnerability |
| 421 |
|
|
to stable and oldstable from the list of DSAs issued by the security |
| 422 |
|
|
team and the fact that a source package is part of a release. |
| 423 |
|
|
Distribution tags can be used to denote information about a vulnerability |
| 424 |
|
|
for the version of a package in a specific release. An example: |
| 425 |
micah |
2985 |
|
| 426 |
jmm-guest |
3027 |
CVE-2005-3974 (Drupal 4.5.0 through 4.5.5 and 4.6.0 through 4.6.3, when running on ...) |
| 427 |
|
|
- drupal 4.5.6-1 (low) |
| 428 |
|
|
[sarge] - drupal <not-affected> (Only vulnerable if running PHP 5) |
| 429 |
|
|
|
| 430 |
|
|
Drupal has been fixed since 4.5.6, however Drupal from Sarge still isn't |
| 431 |
|
|
vulnerable as the vulnerability is only effective when run under PHP 5, |
| 432 |
|
|
which isn't part of Sarge. |
| 433 |
|
|
|
| 434 |
luk |
17944 |
When a vulnerability is fixed in (oldstable-)proposed-updates, it is added |
| 435 |
carnil |
19090 |
to next-(oldstable-)point-update.txt and only added to CVE/list after the |
| 436 |
luk |
17944 |
point release (during which the no-dsa entry is removed). |
| 437 |
|
|
|
| 438 |
micah |
2985 |
Generated Reports |
| 439 |
|
|
----------------- |
| 440 |
gilbert-guest |
12800 |
|
| 441 |
micah |
2985 |
All of this tracking information gets automatically parsed and |
| 442 |
|
|
compared against madison to determine what has been fixed and what is |
| 443 |
joeyh |
4589 |
still waiting, this results in this website: |
| 444 |
micah |
2985 |
|
| 445 |
derevko-guest |
13058 |
http://security-tracker.debian.org/ |
| 446 |
micah |
2985 |
|
| 447 |
joeyh |
4589 |
It incorporates package lists and parses distribution lists and can |
| 448 |
|
|
thus be used to |
| 449 |
|
|
- Present the security history of a package |
| 450 |
|
|
- Provide overviews of vulnerable packages in stable, testing, sid and |
| 451 |
|
|
oldstable (it still has some false positives, wrt packages in |
| 452 |
jmm-guest |
13122 |
stable that are present in stable, but not vulnerable, these need to |
| 453 |
|
|
be triaged individually). |
| 454 |
joeyh |
4589 |
- Generate a list of packages that are subject to security problems, but |
| 455 |
|
|
stuck in testing migration due to problems with the dependency chain |
| 456 |
|
|
and thus candidates for a DTSA |
| 457 |
tedp-guest |
6022 |
- Generate a list of TODO issues that need to be addressed |
| 458 |
joeyh |
4589 |
- Generate a list of packages that will enter Debian soon and need to |
| 459 |
|
|
be checked for security problems |
| 460 |
|
|
- Generate a list of provisional IDs that need to be turned into proper |
| 461 |
|
|
CVE entries |
| 462 |
|
|
- Show some potential problems in the data pool (e.g. misspelled package |
| 463 |
|
|
names not found in the packages list, or potentially missing epochs) |
| 464 |
micah |
2985 |
|
| 465 |
joeyh |
4589 |
For every security problem it displays |
| 466 |
|
|
- The CVE information |
| 467 |
|
|
- A severity assessment by NVD |
| 468 |
|
|
- Cross references to DTSAs, DSAs and bugs in the BTS |
| 469 |
|
|
- The status of a security problem in stable, oldstable, testing and sid |
| 470 |
|
|
- Additional notes from our tracker |
| 471 |
micah |
2985 |
|
| 472 |
jmm-guest |
3030 |
The DSA list |
| 473 |
|
|
------------ |
| 474 |
gilbert-guest |
12800 |
|
| 475 |
jmm-guest |
3030 |
We maintain a list of all DSA advisories issued by the stable security |
| 476 |
|
|
team. This information is used to derive information about the state |
| 477 |
|
|
of security problems for the stable and oldstable distribution. An |
| 478 |
|
|
entry for a DSA looks like this: |
| 479 |
|
|
|
| 480 |
|
|
[21 Nov 2005] DSA-903-1 unzip - race condition |
| 481 |
|
|
{CVE-2005-2475} |
| 482 |
|
|
[woody] - unzip 5.50-1woody4 |
| 483 |
|
|
[sarge] - unzip 5.52-1sarge2 |
| 484 |
|
|
NOTE: fixed in testing at time of DSA |
| 485 |
|
|
|
| 486 |
micah |
3614 |
The first line tracks the date, when a DSA was issued, the DSA |
| 487 |
|
|
identifier, the affected source package and the type of vulnerability. |
| 488 |
|
|
The second line performs a cross-reference to the entry in CVE/list |
| 489 |
|
|
that maintains the state of the vulnerability in sid. Every entry that |
| 490 |
|
|
is added like this to DSA/list is parsed by a script and automatically |
| 491 |
|
|
added to CVE/list. The next lines contain the fixes for stable and |
| 492 |
|
|
optionally oldstable, addressed with distribution tags. You may add |
| 493 |
|
|
NOTE: entries freely, we use a NOTE entry for statistical purposes |
| 494 |
|
|
that tracks, when a fix has reached testing relative to the time when |
| 495 |
|
|
it hit stable. |
| 496 |
jmm-guest |
3030 |
|
| 497 |
micah |
3615 |
There is no need to add anything to CVE/list for a DSA, the DSA |
| 498 |
|
|
cross-reference will be added automatically by the cron job. However, |
| 499 |
luk |
18421 |
you do need to add [lenny] or [squeeze] entries to CVE/list when there |
| 500 |
micah |
3614 |
is a 'no-dsa' or 'not-affected' condition. |
| 501 |
|
|
|
| 502 |
jrdioko-guest |
16977 |
Checking in your changes |
| 503 |
|
|
------------------------ |
| 504 |
gilbert-guest |
12800 |
|
| 505 |
jrdioko-guest |
16977 |
After thoroughly researching each issue (as described above) and editing |
| 506 |
|
|
the relevant files, commit your changes. Peer review is done via the |
| 507 |
|
|
mailing list and IRC notifications (see "Automatic Issue Updates" above). |
| 508 |
gilbert-guest |
17008 |
However, changes to the tracker website itself (e.g. the files in lib/* |
| 509 |
|
|
and bin/tracker_service.py) should be vetted and approved before being |
| 510 |
|
|
committed. The preferred way to do this is to send a patch to: |
| 511 |
jrdioko-guest |
16977 |
debian-security-tracker@lists.debian.org mailing list. |
| 512 |
|
|
|
| 513 |
nion |
6899 |
Commits are checked for syntax errors before they are actually committed, |
| 514 |
|
|
and you'll receive an error and your commit is aborted if it is in error. |
| 515 |
|
|
To check your changes yourself beforehand, use "make check-syntax" from |
| 516 |
|
|
the root of the svn directory. |
| 517 |
|
|
|
| 518 |
micah |
2985 |
Following up on security issues |
| 519 |
|
|
------------------------------- |
| 520 |
gilbert-guest |
12800 |
|
| 521 |
micah |
2985 |
By simply loading this page and doing a little gardening of the |
| 522 |
|
|
different issues many things can be done. One thing is that you can |
| 523 |
|
|
read all the bug reports of each issue and see if new information has |
| 524 |
|
|
been added to the end that might provide updated or changed |
| 525 |
|
|
information (such as if an issue has been closed, or a version of the |
| 526 |
|
|
package has been uploaded that contains the fix). It is also useful to |
| 527 |
|
|
follow-up on the issues to prod the maintainer to deal with the issue, |
| 528 |
|
|
which they may have forgotten about. |
| 529 |
|
|
|
| 530 |
|
|
|
| 531 |
jmm-guest |
12004 |
Tracking of security bugs in the BTS and linking them to a user tag by CVE |
| 532 |
|
|
-------------------------------------------------------------------------- |
| 533 |
|
|
|
| 534 |
|
|
There's an automated tagging of security-related bugs to CVE IDs through |
| 535 |
|
|
the user tag security for the user debian-security@lists.debian.org |
| 536 |
|
|
|
| 537 |
|
|
All bugs added to the tracker are automatically tagged. You can use |
| 538 |
|
|
the search |
| 539 |
|
|
http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=security;users=debian-security@lists.debian.org;exclude=tracked |
| 540 |
|
|
to find all bugs not yet present in the tracker. |
| 541 |
|
|
|
| 542 |
|
|
All bug numbers added to the tracked are automatically associated |
| 543 |
|
|
to the relevant user tag. |
| 544 |
|
|
|
| 545 |
|
|
If you checked an issue which doesn't need to be added to the tracked |
| 546 |
|
|
(e.g. because it's not security-relevant or otherwise bogus you can either |
| 547 |
geissert |
20019 |
remove the security tag from the bugs or send a mail to control@bugs.debian.org |
| 548 |
jmm-guest |
12004 |
with the following content: |
| 549 |
|
|
|
| 550 |
derevko-guest |
12337 |
user debian-security@lists.debian.org |
| 551 |
jmm-guest |
12004 |
usertag $BUGNUM + tracked |
| 552 |
|
|
|
| 553 |
micah |
2985 |
IRC Channel |
| 554 |
|
|
----------- |
| 555 |
gilbert-guest |
12800 |
|
| 556 |
micah |
2985 |
We hang-out on #debian-security on OFTC, stop by the IRC channel if |
| 557 |
|
|
you'd like, also we can add you to the alioth project so you have svn |
| 558 |
|
|
write permission and you can test drive it on the testing issues for |
| 559 |
|
|
however long you like to get an idea or feel comfortable (and hey it |
| 560 |
|
|
helps!) |