OpenSSL: Access of Resource Using Incompatible Type
CVE-2023-0286 is a high-severity access of resource using incompatible type vulnerability in OpenSSL, with a CVSS 3.1 base score of 7.4 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists versions 3.0.8, 1.1.1t, 1.0.2zg as the first without the flaw, so updating OpenSSL to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 68.4% chance of exploitation within 30 days, which is in the top 0.65% of all scored CVEs.
Exploitation in the next 30 days is more likely than not, according to EPSS.
What to do
- Update OpenSSL to 3.0.8 or 1.1.1t or 1.0.2zg, whichever matches your release line, or a later version.
- Update BFCClient to V2.17 or a later version.
- Update SCALANCE W1750D (JP) to V8.10.0.9 or a later version.
- Read the advisory on git.openssl.org for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| OpenSSL | OpenSSL | 3.0.0 up to, but not including, 3.0.8; 1.1.1 up to, but not including, 1.1.1t; 1.0.2 up to, but not including, 1.0.2zg | 3.0.8, 1.1.1t, 1.0.2zg |
| Siemens | BFCClient | before V2.17 | V2.17 |
| Siemens | RUGGEDCOM APE1808 | all versions | Not stated |
| Siemens | SCALANCE W1750D (JP) | before V8.10.0.9 | V8.10.0.9 |
| Siemens | SCALANCE W1750D (ROW) | before V8.10.0.9 | V8.10.0.9 |
| Siemens | SCALANCE W1750D (USA) | before V8.10.0.9 | V8.10.0.9 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 up to, but not including, V3.1.5 | V3.1.5 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 up to, but not including, V3.1.5 | V3.1.5 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | before V1.1 | V1.1 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 up to, but not including, V3.1.5 | V3.1.5 |
| Stormshield | Stormshield Management Center | before 3.3.3 | 3.3.3 |
| Stormshield | Stormshield Network Security | 2.7.0 up to, but not including, 2.7.11; 2.8.0 up to, but not including, 3.7.34; 3.8.0 up to, but not including, 3.11.22; 4.0.0 up to, but not including, 4.3.16; 4.4.0 up to, but not including, 4.6.3 | 2.7.11, 3.7.34, 3.11.22, 4.3.16, 4.6.3 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- HighSuccess depends on conditions outside the attacker's control.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- NoneNothing can be modified.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.4 | High | NVD |
| CVSS 3.1 | 7.4 | High | CISA (ADP) |
Official description
There is a type confusion vulnerability relating to X.400 address processing inside an X.509 GeneralName. X.400 addresses were parsed as an ASN1_STRING but the public structure definition for GENERAL_NAME incorrectly specified the type of the x400Address field as ASN1_TYPE. This field is subsequently interpreted by the OpenSSL function GENERAL_NAME_cmp as an ASN1_TYPE rather than an ASN1_STRING. When CRL checking is enabled (i.e. the application sets the X509_V_FLAG_CRL_CHECK flag), this vulnerability may allow an attacker to pass arbitrary pointers to a memcmp call, enabling them to read memory contents or enact a denial of service. In most cases, the attack requires the attacker to provide both the certificate chain and CRL, neither of which need to have a valid signature. If the attacker only controls one of these inputs, the other input must already contain an X.400 address as a CRL distribution point, which is uncommon. As such, this vulnerability is most likely to only affect applications which have implemented their own functionality for retrieving CRLs over a network.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Access of Resource Using Incompatible Type
The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.
More Access of Resource Using Incompatible Type vulnerabilities (CWE-843)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Advisories
- git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=2c6c9d439b484e1ba9830d8454a34fa4f80fdfe9
- git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=2f7530077e0ef79d98718138716bc51ca0cad658
- git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=fd2af07dc083a350c959147097003a14a5e8ac4d
- openssl.org/news/secadv/20230207.txt
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0003
Third-party and government advisories
- ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.6.2-relnotes.txtThird Party Advisory
- ftp.openbsd.org/pub/OpenBSD/patches/7.2/common/018_x509.patch.sigThird Party Advisory
Other references
- security.gentoo.org/glsa/202402-08
- cert-portal.siemens.com/productcert/html/ssa-028723.html
- cert-portal.siemens.com/productcert/html/ssa-203374.html
- cert-portal.siemens.com/productcert/html/ssa-264815.html
- cert-portal.siemens.com/productcert/html/ssa-337522.html
- cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com/productcert/html/ssa-455250.html
- cert-portal.siemens.com/productcert/html/ssa-556635.html
- cert-portal.siemens.com/productcert/html/ssa-561322.html
- cert-portal.siemens.com/productcert/html/ssa-625862.html
- cert-portal.siemens.com/productcert/html/ssa-769027.html
- cert-portal.siemens.com/productcert/html/ssa-794697.html
- cert-portal.siemens.com/productcert/html/ssa-879734.html
- cert-portal.siemens.com/productcert/html/ssa-943925.html
Other vulnerabilities in OpenSSL
- 7.5 High severity
- 7.5 High severity
- 8.2 High severity
- 7.5 High severity
- 7.5 High severity
- 9.1 Critical severity
Recent Access of Resource Using Incompatible Type vulnerabilities
- 8.8 High severity
- 8.8 High severity
- 8.8 High severity
- 8.8 High severity
- 7.8 High severity
- 8.8 High severity
Apple iOS Type Confusion Exploited
Spotted an error? Tell us.