| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
All the scripts in bin/ can share the definition. Also
setup_paths.py calls setup_path so one just has to import
that module before importing those from lib/python/.
Additionally this helps some scripts work better under Python 3,
as one variant of setup_paths that we had called string.rfind,
which is not present there.
|
| |
|
|
|
|
| |
We get a bytes object under python 3.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
MITRE changed the layout of the html pages for the CVE entries resulting
in long lines for the CVE descpritons not wrapped anymore directly
already in the fetched HTML.
Switch to use texwrap module to wrap the text in the description lines
and to be prefixed with a marker if the description is too long to be
hold in one line.
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
|
| |
|
| |
|
| |
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@59025 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@58184 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
|
|
| |
This also brings back the X-Debbug-CC entries
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@58183 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
|
|
|
|
|
|
| |
This allows to invoke the mailer directly like
bin/report-vuln -M <pkg> <cve>...
the default behaviour is unchanged.
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@58182 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@58125 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If no description was found None is returned. This fixes
Traceback (most recent call last):
File "bin/report-vuln", line 237, in <module>
main()
File "bin/report-vuln", line 234, in main
gen_text(pkg, cve, affected=args.affected, blanks=args.blanks, severity=args.severity, cc=args.cc, cclist=args.cclist, src=args.src)
File "bin/report-vuln", line 156, in gen_text
print get_cve(cve)
File "bin/report-vuln", line 114, in get_cve
return ret + '\n'
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
in case of a yet unknown CVE.
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@58119 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@58118 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@50559 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@50252 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@50235 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@50234 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@50233 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@50232 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@50231 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@50230 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@45746 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@36263 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@30811 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@30810 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
|
|
| |
See https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Source
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@28141 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@26263 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@24590 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@19986 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@19985 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@19984 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
USAGE: bin/report-vuln src-pkg CVE-2012-XXXX
Specify as many CVE-less entries as the number of issues to report.
E.g. to report two issues without CVE id against foo:
bin/report-vuln foo CVE-2012-XXXX CVE-2012-XXXX
NOTE: Make sure you add a description to the CVE/list entries!
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@19983 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@19982 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
|
|
|
| |
s/security-tracker.debian.net/security-tracker.debian.org
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@13058 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@9038 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@9011 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@9005 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@9002 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
|
|
| |
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@8997 e39458fd-73e7-0310-bf30-c45bca0a0e42
|
|
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@8437 e39458fd-73e7-0310-bf30-c45bca0a0e42
|