Description (CNA)
`_nx_secure_x509_parse_signature_data` computes the certificate signature's length as `tlv_length - 1` without first checking that `tlv_length` is non-zero. A certificate whose signature is an empty ASN.1 BIT STRING therefore parses successfully and leaves the certificate holding a signature length of `0xFFFFFFFF` and a signature pointer one byte past the end of the buffer. Certificates are parsed from the peer during the TLS handshake, so the input is remote and unauthenticated.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Eclipse Foundation / NetX Duo | affected 0 through 6.5.2.202603; unaffected 6.5.2.202603a |
CWE
CWE-125, CWE-191
References
- https://github.com/eclipse-threadx/netxduo/security/advisories/GHSA-ww3q-3444-q488
- https://gitlab.eclipse.org/security/cve-assignment/-/work_items/368
ADP enrichment
No English description supplied.
No references supplied.