medium5.9
CVE-2018-16149
In sig_verify() in x509.c in axTLS version 2.1.3 and before, the PKCS#1 v1.5 signature verification blindly trusts the declared lengths in the ASN.1 structure.
Impact
In sig_verify() in x509.c in axTLS version 2.1.3 and before, the PKCS#1 v1.5 signature verification blindly trusts the declared lengths in the ASN.1 structure. Consequently, when small public exponents are being used, a remote attacker can generate purposefully crafted signatures (and put them on X.509 certificates) to induce illegal memory access and crash the verifier.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Axtls Project | Axtls | through 2.1.3 |
Weakness classification
References
- NVD record
- CVE.org record
- https://github.com/igrr/axtls-8266/commit/5efe2947ab45e81d84b5f707c51d1c64be52f36c
- https://sourceforge.net/p/axtls/mailman/message/36459928/
- https://github.com/igrr/axtls-8266/commit/5efe2947ab45e81d84b5f707c51d1c64be52f36c
- https://sourceforge.net/p/axtls/mailman/message/36459928/