[Git][security-tracker-team/security-tracker][master] process-cve-records: don't remove our own descriptions
Emilio Pozuelo Monfort (@pochu)
pochu at debian.org
Fri Apr 28 14:38:17 BST 2023
Emilio Pozuelo Monfort pushed to branch master at Debian Security Tracker / security-tracker
Commits:
a583e270 by Emilio Pozuelo Monfort at 2023-04-28T15:36:12+02:00
process-cve-records: don't remove our own descriptions
Only the ones that came from MITRE.
- - - - -
1 changed file:
- bin/process-cve-records
Changes:
=====================================
bin/process-cve-records
=====================================
@@ -60,7 +60,8 @@ def parse_record(record, cve):
cve.annotations.insert(0, ann)
if is_reserved(record) or is_rejected(record):
- cve.header.description = ''
+ if cve.header.description.startswith('('):
+ cve.header.description = ''
else:
desc = [desc['value']
for desc in record['containers']['cna']['descriptions']
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/a583e2706b04e53e68ffffec1b830cf5f84f9675
--
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/a583e2706b04e53e68ffffec1b830cf5f84f9675
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20230428/df344ca5/attachment.htm>
More information about the debian-security-tracker-commits
mailing list