Open Bug 1705732 Opened 5 years ago Updated 5 years ago

Incorrect tags are used when decoding issuerUniqueID and subjectUniqueID in X509.jsm

Categories

(Core :: Security: PSM, defect, P3)

defect

Tracking

()

People

(Reporter: Alex_Gaynor, Unassigned)

References

Details

(Whiteboard: [psm-backlog])

https://searchfox.org/mozilla-central/source/security/manager/ssl/X509.jsm#278-285

These are decoded using the CONSTRUCTED flag, however this is not correct. In RFC 5280 these fields are IMPLICIT, which only has the CONSTRUCTED bit set if the inner-type is CONSTRUCTED. These fields are BIT STRING, which is not CONSTRUCTED, hence this shouldn't be either.

In practice these fields are literally never used, so no one noticed.

See also: https://github.com/pyca/cryptography/pull/5978

Severity: -- → S4
Priority: -- → P3
See Also: → 1579060
Whiteboard: [psm-backlog]
You need to log in before you can comment on or make changes to this bug.