Skip to content

reject empty sequence in size (1..max) x509 extension parsers#2331

Open
rootvector2 wants to merge 1 commit into
bcgit:mainfrom
rootvector2:x509-empty-extension-sequence
Open

reject empty sequence in size (1..max) x509 extension parsers#2331
rootvector2 wants to merge 1 commit into
bcgit:mainfrom
rootvector2:x509-empty-extension-sequence

Conversation

@rootvector2

Copy link
Copy Markdown
Contributor

the SEQUENCE SIZE (1..MAX) x509 extension parsers CertificatePolicies, PolicyMappings, ExtendedKeyUsage, CRLDistPoint and SubjectDirectoryAttributes accept an empty SEQUENCE from an untrusted certificate, unlike AuthorityInformationAccess which already rejects it, so each now applies the same sequence may not be empty check RFC 5280 requires.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant