Open
Bug 281448
Opened 20 years ago
Updated 2 years ago
CRL extension check in decoder is incorrect
Categories
(NSS :: Libraries, defect, P2)
Tracking
(Not tracked)
NEW
People
(Reporter: julien.pierre, Unassigned)
Details
The CRL decoding functions (CERT_DecodeDERCrl and CERT_DecodeDERCrlWithFlags) implement the extension check on the CRL and CRL entries by calling the internal functions cert_HasCriticalExtension and cert_HasUnknownCriticalExten, which in turn refer to a global table of OID and use the function SECOID_KnownCertExtenOI . Unfortunately, this code is only correct for checking certificate extensions . Even though the OIDs are the same for cert and CRL extension, the NSS code to support the extension isn't . To name just one, we support AKID/SKID correctly on cert, but not on CRLs (there is a bug filed on that). Therefore, the extension check should be replaced by a more appropriate one. We should probably maintain a separate list of extensions that apply to certain type of objects (most cert extensions don't apply to CRLs or CRL entries). The same problem may exist for other types of objects (eg. OCSP request/responses, CRMF). The net effect of this bug is that some CRLs will decode, even though NSS doesn't know how to process them (eg. CRLs with AKID/SKID) . A failure may happen later on at CRL verification time . Currently, the CRL code doesn't support any extensions for the CRL itself, and only the reason code extension for the entries.
Updated•20 years ago
|
QA Contact: bishakhabanerjee → jason.m.reid
Updated•19 years ago
|
Assignee: wtchang → nobody
QA Contact: jason.m.reid → libraries
Updated•18 years ago
|
Priority: -- → P3
| Reporter | ||
Comment 1•18 years ago
|
||
This needs to be resolved for 3.12.
Assignee: nobody → julien.pierre.bugs
Priority: P3 → P2
Target Milestone: --- → 3.12
Updated•18 years ago
|
Assignee: bugzilla → alexei.volkov.bugs
Comment 2•16 years ago
|
||
Unsetting target milestone in unresolved bugs whose targets have passed.
Target Milestone: 3.12 → ---
Updated•2 years ago
|
Severity: normal → S3
Comment 3•2 years ago
|
||
The bug assignee is inactive on Bugzilla, and this bug has priority 'P2'.
:beurdouche, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee: alvolkov.bgs → nobody
Flags: needinfo?(bbeurdouche)
Comment 4•2 years ago
|
||
We have modified the bot to only consider P1 as high priority, so I'm cancelling the needinfo here.
Flags: needinfo?(bbeurdouche)
You need to log in
before you can comment on or make changes to this bug.
Description
•