Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2023-2287

Active Important

ALAS2-2023-2287 (important): curl

Published
11 Oct 2023
Updated
11 Oct 2023

Related CVEs

CVE identifiers linked by this publisher.

2
Publisher relationship details 2 records
Explicit publisher CVE relationships
CVE
CVE-2023-38545
CVE-2023-38546

Description

An issue was found in curl that can cause a buffer overflow in its SOCKS5 proxy communications code. When curl is using a SOCKS5 proxy and it needs to resolve a hostname to an IP address, its default behavior is to pass the hostname to the proxy and allow it to perform the resolution. In cases where the hostname is greater than 255 characters in length,

Read full publisher description 1538 characters

An issue was found in curl that can cause a buffer overflow in its SOCKS5 proxy communications code. When curl is using a SOCKS5 proxy and it needs to resolve a hostname to an IP address, its default behavior is to pass the hostname to the proxy and allow it to perform the resolution. In cases where the hostname is greater than 255 characters in length, curl will instead attempt to perform the resolution locally and then pass the resolved IP to the proxy for its use. Due to an issue in the curl source code, the logic that determines whether curl should resolve the name locally or pass it to the proxy for resolution could make an incorrect decision when a slow SOCKS5 handshake occurs. If this occurs, curl may inadvertently copy an excessively long host name, rather than the resolved address, into the target buffer being prepared for transmission to the proxy, resulting in a buffer overflow. (CVE-2023-38545) An issue was found in libcurl which allows cookies to be inserted into a running program if specific conditions are met. The libcurl provided function, curl_easy_duphandle(), is used to duplicate the easy_handle associated with a transfer. If a duplicated transfer's easy_handle has cookies enabled when it is duplicated, the cookie-enabled state is cloned but the actual cookies are not. If the source easy_handle didn't read cookies from disk, the cloned easy_handle will attempt to read cookies from a file named 'none' in the local directory, potentially allowing arbitrary cookies to be loaded. (CVE-2023-38546)

Solution

Run yum update curl or yum update --advisory ALAS2-2023-2287 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

4

Shared package data

Applies to all 4 occurrences
  1. 1curl

    Occurrence-specific details
    Architecture
    aarch64

    Replacement RPMs

    • curl-8.3.0-1.amzn2.0.4.aarch64
    • libcurl-8.3.0-1.amzn2.0.4.aarch64
    • libcurl-devel-8.3.0-1.amzn2.0.4.aarch64
    • curl-debuginfo-8.3.0-1.amzn2.0.4.aarch64
  2. 2curl

    Occurrence-specific details
    Architecture
    i686

    Replacement RPMs

    • curl-8.3.0-1.amzn2.0.4.i686
    • libcurl-8.3.0-1.amzn2.0.4.i686
    • libcurl-devel-8.3.0-1.amzn2.0.4.i686
    • curl-debuginfo-8.3.0-1.amzn2.0.4.i686
  3. 3curl

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • curl-8.3.0-1.amzn2.0.4.src
  4. 4curl

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • curl-8.3.0-1.amzn2.0.4.x86_64
    • libcurl-8.3.0-1.amzn2.0.4.x86_64
    • libcurl-devel-8.3.0-1.amzn2.0.4.x86_64
    • curl-debuginfo-8.3.0-1.amzn2.0.4.x86_64

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

4
  • CVE-2023-38545 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2023-38545
  • CVE-2023-38546 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2023-38546
  • CVE-2023-38545 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-38545
  • CVE-2023-38546 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-38546

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2023-2287.htmlUnknown52f31fd266c626325377429975c7949edd67006c1aadeec554c7d5bef649b08eamazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2023-2287.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2023-2287.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected