Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

suse-cvrf логотип

openSUSE-SU-2026:20907-1

Опубликовано: 05 июн. 2026
Источник: suse-cvrf

Описание

Security update for erlang

This update for erlang fixes the following issues

  • CVE-2025-4748: improper limitation of a pathname may lead to path traversal (bsc#1244642).
  • CVE-2026-32147: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in SFTP chroot (bsc#1262503).
  • CVE-2026-42789: public_key application accepts non-CA certificates as intermediate issuers and this enables chain forgery (bsc#1266449).
  • CVE-2026-42790: Name Constraints and Subject CommonName fallback in TLS hostname verification allows for certificate forgery by MITM attacker (bsc#1266466).
  • CVE-2026-42791: OCSP response verification in the public_key application does not check the validity period of the OCSP responder certificate and allows for OCSP response response forgery (bsc#1266448).

Список пакетов

openSUSE Leap 16.0
erlang-27.1.3-160000.5.1
erlang-debugger-27.1.3-160000.5.1
erlang-debugger-src-27.1.3-160000.5.1
erlang-dialyzer-27.1.3-160000.5.1
erlang-dialyzer-src-27.1.3-160000.5.1
erlang-diameter-27.1.3-160000.5.1
erlang-diameter-src-27.1.3-160000.5.1
erlang-doc-27.1.3-160000.5.1
erlang-epmd-27.1.3-160000.5.1
erlang-et-27.1.3-160000.5.1
erlang-et-src-27.1.3-160000.5.1
erlang-jinterface-27.1.3-160000.5.1
erlang-jinterface-src-27.1.3-160000.5.1
erlang-observer-27.1.3-160000.5.1
erlang-observer-src-27.1.3-160000.5.1
erlang-reltool-27.1.3-160000.5.1
erlang-reltool-src-27.1.3-160000.5.1
erlang-src-27.1.3-160000.5.1
erlang-wx-27.1.3-160000.5.1
erlang-wx-src-27.1.3-160000.5.1

Описание

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Erlang OTP (stdlib modules) allows Absolute Path Traversal, File Manipulation. This vulnerability is associated with program files lib/stdlib/src/zip.erl and program routines zip:unzip/1, zip:unzip/2, zip:extract/1, zip:extract/2 unless the memory option is passed. This issue affects OTP from OTP 17.0 until OTP 28.0.1, OTP 27.3.4.1 and OTP 26.2.5.13, corresponding to stdlib from 2.0 until 7.0.1, 6.2.2.1 and 5.2.3.4.


Затронутые продукты
openSUSE Leap 16.0:erlang-27.1.3-160000.5.1
openSUSE Leap 16.0:erlang-debugger-27.1.3-160000.5.1
openSUSE Leap 16.0:erlang-debugger-src-27.1.3-160000.5.1
openSUSE Leap 16.0:erlang-dialyzer-27.1.3-160000.5.1

Ссылки

Описание

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Erlang OTP ssh (ssh_sftpd module) allows an authenticated SFTP user to modify file attributes outside the configured chroot directory. The SFTP daemon (ssh_sftpd) stores the raw, user-supplied path in file handles instead of the chroot-resolved path. When SSH_FXP_FSETSTAT is issued on such a handle, file attributes (permissions, ownership, timestamps) are modified on the real filesystem path, bypassing the root directory boundary entirely. Any authenticated SFTP user on a server configured with the root option can modify file attributes of files outside the intended chroot boundary. The prerequisite is that a target file must exist on the real filesystem at the same relative path. Note that this vulnerability only allows modification of file attributes; file contents cannot be read or altered through this attack vector. If the SSH daemon runs as root, this enables direct privilege escalation: an attacker can set the setuid bit on any binary, change ownership of sensitive files, or make system configuration world-writable. This vulnerability is associated with program files lib/ssh/src/ssh_sftpd.erl and program routines ssh_sftpd:do_open/4 and ssh_sftpd:handle_op/4. This issue affects OTP from OTP 17.0 until OTP 28.4.3, 27.3.4.11, and 26.2.5.20 corresponding to ssh from 3.01 until 5.5.3, 5.2.11.7, and 5.1.4.15.


Затронутые продукты
openSUSE Leap 16.0:erlang-27.1.3-160000.5.1
openSUSE Leap 16.0:erlang-debugger-27.1.3-160000.5.1
openSUSE Leap 16.0:erlang-debugger-src-27.1.3-160000.5.1
openSUSE Leap 16.0:erlang-dialyzer-27.1.3-160000.5.1

Ссылки

Описание

Improper Following of a Certificate's Chain of Trust vulnerability in Erlang OTP public_key (pubkey_cert module) allows a non-CA certificate to be accepted as an intermediate issuer, enabling certificate chain forgery. In lib/public_key/src/pubkey_cert.erl, pubkey_cert:validate_extensions/7 contains two flaws that together allow a certificate with basicConstraints cA:false and no keyUsage extension to be used as an intermediate issuer in a chain passed to public_key:pkix_path_validation/3: the cA:false clause recurses into the remaining extensions without rejecting the certificate when it is in issuer position, and the keyUsage check only fires when the extension is present, so a certificate lacking keyUsage entirely bypasses the keyCertSign enforcement. Any party holding an end-entity certificate with basicConstraints cA:false and no keyUsage extension, issued by any CA in the victim's trust store, can use that certificate's private key to sign forged leaf certificates for arbitrary identities. public_key:pkix_path_validation/3 accepts the resulting chain, and by extension every TLS or mTLS endpoint built on the OTP ssl application that relies on the default verifier is affected, including server identity verification on the client side and client certificate verification on mTLS servers. This issue affects OTP from OTP 17.0 before OTP 26.2.5.21, 27.3.4.12, 28.5.0.1, and 29.0.1 corresponding to public_key from 0.22 before 1.15.1.7, 1.17.1.3, 1.20.3.1, and 1.21.1.


Затронутые продукты
openSUSE Leap 16.0:erlang-27.1.3-160000.5.1
openSUSE Leap 16.0:erlang-debugger-27.1.3-160000.5.1
openSUSE Leap 16.0:erlang-debugger-src-27.1.3-160000.5.1
openSUSE Leap 16.0:erlang-dialyzer-27.1.3-160000.5.1

Ссылки

Описание

Improper Certificate Validation vulnerability in Erlang OTP public_key (pubkey_cert and public_key modules) allows a DNS nameConstraints bypass via subject CommonName fallback in TLS hostname verification. Two flaws combine to allow a subordinate CA whose DNS nameConstraints are restricted (e.g. permitted;DNS:allowed.example.com) to issue a leaf certificate that an OTP TLS client accepts as a valid identity for an out-of-scope hostname (e.g. victim.example.com): First, pubkey_cert:validate_names/6 in lib/public_key/src/pubkey_cert.erl only checks SAN DNS entries against nameConstraints. Per RFC 5280, a permitted DNS subtree only restricts certificates that contain a DNS-typed name. A leaf with no subjectAltName therefore trivially satisfies any permitted;DNS:... constraint regardless of its subject commonName. Second, public_key:pkix_verify_hostname/3 in lib/public_key/src/public_key.erl falls back to the subject commonName when no subjectAltName is present, extracting id-at-commonName attributes as presented IDs and matching them against the reference hostname. The strict pkix_verify_hostname_match_fun(https) matcher does not suppress this fallback. The result is that path validation accepts a CN-only leaf under a DNS-constrained intermediate (no SAN means the nameConstraints are not triggered), and hostname verification then accepts it via the CN fallback. The bypass is reachable from stock ssl:connect with verify_peer, a trusted CA, SNI, and the canonical strict https hostname matcher. This issue affects OTP from OTP 19.3 before OTP 26.2.5.21, 27.3.4.12, 28.5.0.1, and 29.0.1 corresponding to public_key from 1.4 before 1.15.1.7, 1.17.1.3, 1.20.3.1, and 1.21.1.


Затронутые продукты
openSUSE Leap 16.0:erlang-27.1.3-160000.5.1
openSUSE Leap 16.0:erlang-debugger-27.1.3-160000.5.1
openSUSE Leap 16.0:erlang-debugger-src-27.1.3-160000.5.1
openSUSE Leap 16.0:erlang-dialyzer-27.1.3-160000.5.1

Ссылки

Описание

Improper Certificate Validation vulnerability in Erlang OTP public_key (pubkey_ocsp module) allows forged OCSP responses signed with an expired responder certificate to be accepted as valid. OCSP response verification in pubkey_ocsp:verify_response/5 and pubkey_ocsp:is_authorized_responder/3 in lib/public_key/src/pubkey_ocsp.erl does not check the validity period (notBefore/notAfter) of the OCSP responder certificate. An attacker who has obtained the private key of an expired CA-designated OCSP responder certificate can forge OCSP responses that Erlang/OTP accepts as valid. This affects TLS clients using OCSP stapling via the ssl application: a malicious or compromised server can present a revoked TLS certificate together with a forged OCSP response signed by an expired responder key, and the client will accept the revoked certificate as valid. It also affects applications calling public_key:pkix_ocsp_validate/5 directly, where the impact depends on the use case - server-side client certificate validation using this API may allow authentication bypass with a revoked client certificate. This issue affects OTP from OTP 27.0 before OTP 27.3.4.12, 28.5.0.1, and 29.0.1 corresponding to public_key from 1.16 before 1.17.1.3, 1.20.3.1, and 1.21.1.


Затронутые продукты
openSUSE Leap 16.0:erlang-27.1.3-160000.5.1
openSUSE Leap 16.0:erlang-debugger-27.1.3-160000.5.1
openSUSE Leap 16.0:erlang-debugger-src-27.1.3-160000.5.1
openSUSE Leap 16.0:erlang-dialyzer-27.1.3-160000.5.1

Ссылки