Vulnerability Details : 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. 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.
Products affected by CVE-2018-16149
- cpe:2.3:a:axtls_project:axtls:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-16149
0.19%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 57 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-16149
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
NIST | |
5.9
|
MEDIUM | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
2.2
|
3.6
|
NIST |
CWE ids for CVE-2018-16149
-
The product does not verify, or incorrectly verifies, the cryptographic signature for data.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-16149
-
https://sourceforge.net/p/axtls/mailman/message/36459928/
axTLS Embedded SSL / Re: [axtls-general] Problems of PKCS#1 v1.5 RSA Signature VerificationExploit;Third Party Advisory;Patch
-
https://github.com/igrr/axtls-8266/commit/5efe2947ab45e81d84b5f707c51d1c64be52f36c
Apply CVE fixes for X509 parsing · igrr/axtls-8266@5efe294 · GitHubPatch;Third Party Advisory
Jump to