Skip to content
Fencer Intel
medium 4.9

CVE-2022-4203 json

X.509 Name Constraints Read Buffer Overflow

published 3y ago modified last mo. also GHSA-w67w-mw4j-8qrv , RUSTSEC-2023-0008 , EUVD-2023-0809

cvss
4.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.4%
EPSS 1.4% chance of exploitation in 30 days, percentile 72%
public exploits
0
none known

Summary

A read buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain signature verification and requires either a CA to have signed the malicious certificate or for the application to continue certificate verification despite failure to construct a path to a trusted issuer.

The read buffer overrun might result in a crash which could lead to a denial of service attack. In theory it could also result in the disclosure of private memory contents (such as private keys, or sensitive plaintext) although we are not aware of any working exploit leading to memory contents disclosure as of the time of release of this advisory.

In a TLS client, this can be triggered by connecting to a malicious server. In a TLS server, this can be triggered if the server requests client authentication and a malicious client connects.

Patch / fix

  • crates.io openssl-src 300.0.12
  • OpenSSL OpenSSL 3.0.8
  • openssl Debian 14, Debian 13, Debian 12 3.0.8-1

debian advisories DEBIAN-CVE-2022-4203

  • openssl Ubuntu 22.04 LTS 3.0.2-0ubuntu1.8

ubuntu advisories UBUNTU-CVE-2022-4203

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • openssl RHEL 9 1:3.0.1-47.el9_1
  • openssl-libs RHEL 9 1:3.0.1-47.el9_1
  • openssl-perl RHEL 9 1:3.0.1-47.el9_1
  • openssl RHEL 9.0 EUS 1:3.0.1-46.el9_0
  • openssl-libs RHEL 9.0 EUS 1:3.0.1-46.el9_0
  • openssl-perl RHEL 9.0 EUS 1:3.0.1-46.el9_0

red hat advisories RHSA-2023:1199RHSA-2023:0946

  • openssl-3 SLE Module for Basesystem 15 SP4, openSUSE Leap 15.4 3.0.1-150400.4.17.1

suse advisories SUSE-SU-2023:0312-1

  • openssl-3 openSUSE Tumbleweed 3.0.8-1.1

opensuse advisories openSUSE-SU-2024:12716-1

  • openssl AlmaLinux 9 1:3.0.1-47.el9_1
  • openssl-libs AlmaLinux 9 1:3.0.1-47.el9_1
  • openssl-perl AlmaLinux 9 1:3.0.1-47.el9_1

almalinux advisories ALSA-2023:0946

  • openssl Rocky Linux 9 1:3.0.1-47.el9_1

rocky linux advisories RLSA-2023:0946

  • openssl Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 3.0.8-r0
  • openssl3 Alpine 3.16, Alpine 3.15 3.0.8-r0

alpine advisories ALPINE-CVE-2022-4203

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2022-4203 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-4203 updated cvss 4.9

openssl: read buffer overflow in X.509 certificate verification

  • Red Hat Enterprise Linux AppStream (v. 9) openssl-perl 3.0.1-47.el9_1
    fixed: vendor fix RHSA-2023:0946
  • Red Hat Enterprise Linux AppStream EUS (v.9.0) openssl-perl 3.0.1-46.el9_0
    fixed: vendor fix RHSA-2023:1199
  • Red Hat Enterprise Linux BaseOS (v. 9) openssl 3.0.1-47.el9_1, openssl-libs 3.0.1-47.el9_1
    fixed: vendor fix RHSA-2023:0946
  • Red Hat Enterprise Linux BaseOS EUS (v.9.0) openssl 3.0.1-46.el9_0, openssl-libs 3.0.1-46.el9_0
    fixed: vendor fix RHSA-2023:1199
  • Red Hat Enterprise Linux 6 openssl, openssl-perl Red Hat Enterprise Linux 7 ovmf, OVMF, AAVMF, openssl, openssl-libs, openssl-perl Red Hat Enterprise Linux 8 edk2, shim, openssl, shim-x64, edk2-ovmf, shim-aa64, +5 more Red Hat Enterprise Linux 9 edk2, shim, shim-x64, edk2-ovmf, shim-aa64, edk2-tools, +2 more Red Hat JBoss Core Services jbcs-httpd24-openssl Red Hat JBoss Web Server 3 openssl
    +1 more products
    Red Hat JBoss Web Server 5 openssl
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-25-065-01 updated cvss 4.9

Hitachi Energy PCU400

  • Hitachi Energy PCU400 <=6.5_K, <=9.4.1
    affected: fixed in 6.6.0
  • Hitachi Energy PCULogger <=1.1.0
    affected: no fix planned
  • Hitachi Energy PCU400 6.6.0, 9.4.2 Hitachi Energy PCULogger 1.2.0
    fixed

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-23-320-08 updated cvss 4.9

Siemens SCALANCE Family Products

  • Siemens SCALANCE XB205-3 (SC, PN) (6GK5205-3BB00-2AB2) <V4.5 Siemens SCALANCE XB205-3 (ST, E/IP) (6GK5205-3BB00-2TB2) <V4.5 Siemens SCALANCE XB205-3 (ST, E/IP) (6GK5205-3BD00-2TB2) <V4.5 Siemens SCALANCE XB205-3 (ST, PN) (6GK5205-3BD00-2AB2) <V4.5 Siemens SCALANCE XB205-3LD (SC, E/IP) (6GK5205-3BF00-2TB2) <V4.5 Siemens SCALANCE XB205-3LD (SC, PN) (6GK5205-3BF00-2AB2) <V4.5
    +34 more products
    Siemens SCALANCE XB208 (E/IP) (6GK5208-0BA00-2TB2) <V4.5 Siemens SCALANCE XB208 (PN) (6GK5208-0BA00-2AB2) <V4.5 Siemens SCALANCE XB213-3 (SC, E/IP) (6GK5213-3BD00-2TB2) <V4.5 Siemens SCALANCE XB213-3 (SC, PN) (6GK5213-3BD00-2AB2) <V4.5 Siemens SCALANCE XB213-3 (ST, E/IP) (6GK5213-3BB00-2TB2) <V4.5 Siemens SCALANCE XB213-3 (ST, PN) (6GK5213-3BB00-2AB2) <V4.5 Siemens SCALANCE XB213-3LD (SC, E/IP) (6GK5213-3BF00-2TB2) <V4.5 Siemens SCALANCE XB213-3LD (SC, PN) (6GK5213-3BF00-2AB2) <V4.5 Siemens SCALANCE XB216 (E/IP) (6GK5216-0BA00-2TB2) <V4.5 Siemens SCALANCE XB216 (PN) (6GK5216-0BA00-2AB2) <V4.5 Siemens SCALANCE XC206-2 (SC) (6GK5206-2BD00-2AC2) <V4.5 Siemens SCALANCE XC206-2 (ST/BFOC) (6GK5206-2BB00-2AC2) <V4.5 Siemens SCALANCE XC206-2G PoE (6GK5206-2RS00-2AC2) <V4.5 Siemens SCALANCE XC206-2G PoE (54 V DC) (6GK5206-2RS00-5AC2) <V4.5 Siemens SCALANCE XC206-2G PoE EEC (54 V DC) (6GK5206-2RS00-5FC2) <V4.5 Siemens SCALANCE XC206-2SFP (6GK5206-2BS00-2AC2) <V4.5 Siemens SCALANCE XC206-2SFP EEC (6GK5206-2BS00-2FC2) <V4.5 Siemens SCALANCE XC206-2SFP G (6GK5206-2GS00-2AC2) <V4.5 Siemens SCALANCE XC206-2SFP G (EIP DEF.) (6GK5206-2GS00-2TC2) <V4.5 Siemens SCALANCE XC206-2SFP G EEC (6GK5206-2GS00-2FC2) <V4.5 Siemens SCALANCE XC208 (6GK5208-0BA00-2AC2) <V4.5 Siemens SCALANCE XC208EEC (6GK5208-0BA00-2FC2) <V4.5 Siemens SCALANCE XC208G (6GK5208-0GA00-2AC2) <V4.5 Siemens SCALANCE XC208G (EIP def.) (6GK5208-0GA00-2TC2) <V4.5 Siemens SCALANCE XC208G EEC (6GK5208-0GA00-2FC2) <V4.5 Siemens SCALANCE XC208G PoE (6GK5208-0RA00-2AC2) <V4.5 Siemens SCALANCE XC208G PoE (54 V DC) (6GK5208-0RA00-5AC2) <V4.5 Siemens SCALANCE XC216 (6GK5216-0BA00-2AC2) <V4.5 Siemens SCALANCE XC216-3G PoE (6GK5216-3RS00-2AC2) <V4.5 Siemens SCALANCE XC216-3G PoE (54 V DC) (6GK5216-3RS00-5AC2) <V4.5 Siemens SCALANCE XC216-4C (6GK5216-4BS00-2AC2) <V4.5 Siemens SCALANCE XC216-4C G (6GK5216-4GS00-2AC2) <V4.5 Siemens SCALANCE XC216-4C G (EIP Def.) (6GK5216-4GS00-2TC2) <V4.5 Siemens SCALANCE XC216-4C G EEC (6GK5216-4GS00-2FC2) <V4.5
    affected: fixed in V4.5 support.industry.siemens.com

31 more affected in the full advisory

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-23-229-01 updated cvss 5.9

ICONICS and Mitsubishi Electric Products

  • ICONICS, Mitsubishi Electric ICONICS Suite including GENESIS64, Hyper Historian, AnalytiX, and MobileHMI 10.97.2
    affected: mitigation “Version 10.97.2 Critical Fixes Rollup 2 and later is not vulnerable to these exploits. ICONICS recommends that users of its products take the following mitigation steps:” partners.iconics.com

From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

1.39% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CISA ADP 3.1 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 4.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected packages

ecosystem package affected fixed in
crates.io openssl-src
>=300.0.0, <300.0.12
300.0.12

Affected products

  • OpenSSL OpenSSL

Classification

Weakness
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.