ALPINE-CVE-2024-5991

Source
https://security.alpinelinux.org/vuln/CVE-2024-5991
Import Source
https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-5991.json
JSON Data
https://api.osv.dev/v1/vulns/ALPINE-CVE-2024-5991
Upstream
Published
2024-08-27T19:15:18Z
Modified
2026-11-03T06:32:50Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In function MatchDomainName(), input param str is treated as a NULL terminated string despite being user provided and unchecked. Specifically, the function X509_check_host() takes in a pointer and length to check against, with no requirements that it be NULL terminated. If a caller was attempting to do a name check on a non-NULL terminated buffer, the code would read beyond the bounds of the input array until it found a NULL terminator.This issue affects wolfSSL: through 5.7.0.

References

Affected packages

Alpine:v3.20 / wolfssl

Package

Name
wolfssl
Purl
pkg:apk/alpine/wolfssl?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.7.2-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-5991.json"

Alpine:v3.21 / wolfssl

Package

Name
wolfssl
Purl
pkg:apk/alpine/wolfssl?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.7.2-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-5991.json"

Alpine:v3.22 / wolfssl

Package

Name
wolfssl
Purl
pkg:apk/alpine/wolfssl?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.7.2-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-5991.json"

Alpine:v3.23 / wolfssl

Package

Name
wolfssl
Purl
pkg:apk/alpine/wolfssl?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.7.2-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-5991.json"

Alpine:v3.24 / wolfssl

Package

Name
wolfssl
Purl
pkg:apk/alpine/wolfssl?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.7.2-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-5991.json"