Node.js: OpenSSL error handling issues in nodejs crypto library
Published Feb 23, 2023
7.5
HIGHCVSS 3.1
EPSS 2.21%
Description
A cryptographic vulnerability exists in Node.js <19.2.0, <18.14.1, <16.19.1, <14.21.3 that in some cases did does not clear the OpenSSL error stack after operations that may set it. This may lead to false positive errors during subsequent cryptographic operations that happen to be on the same thread. This in turn could be used to cause a denial of service.
Affected products
-
- Version 10.0StatusaffectedConstraints<10.*
- Version 11.0StatusaffectedConstraints<11.*
- Version 12.0StatusaffectedConstraints<12.*
- Version 13.0StatusaffectedConstraints<13.*
- Version 14.0StatusaffectedConstraints<14.21.3
- Version 15.0StatusaffectedConstraints<15.*
- Version 16.0StatusaffectedConstraints<16.19.1
- Version 17.0StatusaffectedConstraints<17.*
- Version 18.0StatusaffectedConstraints<18.14.1
- Version 19.0StatusaffectedConstraints<19.2.0
- Version 4.0StatusaffectedConstraints<4.*
- Version 5.0StatusaffectedConstraints<5.*
- Version 6.0StatusaffectedConstraints<6.*
- Version 7.0StatusaffectedConstraints<7.*
- Version 8.0StatusaffectedConstraints<8.*
- Version 9.0StatusaffectedConstraints<9.*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Node.js | Node | unaffected |
|
- ≥ 14.0.0 · ≤ 14.14.0
- ≥ 14.0.0 · < 14.21.3
- ≥ 16.0.0 · ≤ 16.12.0
- ≥ 16.0.0 · < 16.19.1
- ≥ 18.0.0 · ≤ 18.11.0
- ≥ 18.0.0 · < 18.14.1
- ≥ 19.0.0 · < 19.2.0
No data.
Red Hat Enterprise Linux 8
nodejs:16-8070020230314140722.bd1311ed
Fixed · RHSA-2023:1582
Red Hat Enterprise Linux 8
nodejs:18-8070020230322080930.bd1311ed
Fixed · RHSA-2023:1583
Red Hat Enterprise Linux 9
nodejs:18-9020020230327152102.rhel9
Fixed · RHSA-2023:2654
Red Hat 3scale API Management Platform 2
3scale-amp-system-container
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | nodejs:16-8070020230314140722.bd1311ed | Fixed | RHSA-2023:1582 |
| Red Hat Enterprise Linux 8 | nodejs:18-8070020230322080930.bd1311ed | Fixed | RHSA-2023:1583 |
| Red Hat Enterprise Linux 9 | nodejs:18-9020020230327152102.rhel9 | Fixed | RHSA-2023:2654 |
| Red Hat 3scale API Management Platform 2 | 3scale-amp-system-container | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This vulnerability has been rated as moderate by Redhat for several reasons,first and foremost being that in order for the stack to crash,same thread would have to be used by the application which is a complexity outside the hands of attacker because in node.js workloads may be isolated or not happen sequentially on the same thread, reducing exposure,moreover the exploitation might lead to denial of service and poses no threat to confidentiality or integrity of the system.
References (8)
- https://access.redhat.com/security/cve/CVE-2023-23919 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2172170 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-28001 Advisory
- https://hackerone.com/reports/1808596 ExploitThird Party Advisory
- https://nodejs.org/en/blog/vulnerability/february-2023-security-releases/ PatchVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2023-23919
- https://security.netapp.com/advisory/ntap-20230316-0008/
- https://www.cve.org/CVERecord?id=CVE-2023-23919
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2023-23919 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2172170 | Issue Tracking | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-28001 | Advisory | |
| https://hackerone.com/reports/1808596 | ExploitThird Party Advisory | |
| https://nodejs.org/en/blog/vulnerability/february-2023-security-releases/ | PatchVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-23919 | ||
| https://security.netapp.com/advisory/ntap-20230316-0008/ | ||
| https://www.cve.org/CVERecord?id=CVE-2023-23919 |
Change history (0)
No recorded changes yet.