Vulnerability · Published May 26, 2023 · Assigned by hackerone

CVE-2023-28320

Medium 5.9

In plain English

A medium-severity uncontrolled resource consumption in https://github.com/curl/curl. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.7% (higher than 86% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)2.7%top 14.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A denial of service vulnerability exists in curl <v8.1.0 in the way libcurl provides several different backends for resolving host names, selected at build time. If it is built to use the synchronous resolver, it allows name resolves to time-out slow operations using `alarm()` and `siglongjmp()`. When doing this, libcurl used a global buffer that was not mutex protected and a multi-threaded application might therefore crash or otherwise misbehave.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20curl8.1.0-r0ALPINE-CVE-2023-28320
Alpine:v3.21curl8.1.0-r0ALPINE-CVE-2023-28320
Alpine:v3.22curl8.1.0-r0ALPINE-CVE-2023-28320
Alpine:v3.23curl8.1.0-r0ALPINE-CVE-2023-28320
Alpine:v3.24curl8.1.0-r0ALPINE-CVE-2023-28320
Debian:12curl7.88.1-10DEBIAN-CVE-2023-28320
Debian:13curl7.88.1-10DEBIAN-CVE-2023-28320
Debian:14curl7.88.1-10DEBIAN-CVE-2023-28320

Affected products (as reported)

VendorProductVersions
n/a https://github.com/curl/curl Fixed in 8.1.0

Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

References