Out-of-bounds Write Affecting libcurl-devel package, versions <0:7.55.1-12.amzn2.0.5


Severity

Recommended
medium

Based on Amazon Linux security rating

    Threat Intelligence

    EPSS
    1.33% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-AMZN2-LIBCURLDEVEL-1665145
  • published 27 Sep 2021
  • disclosed 11 Jul 2018

How to fix?

Upgrade Amazon-Linux:2 libcurl-devel to version 0:7.55.1-12.amzn2.0.5 or higher.
This issue was patched in ALAS2-2018-1052.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libcurl-devel package and not the libcurl-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

Curl_smtp_escape_eob in lib/smtp.c in curl 7.54.1 to and including curl 7.60.0 has a heap-based buffer overflow that might be exploitable by an attacker who can control the data that curl transmits over SMTP with certain settings (i.e., use of a nonstandard --limit-rate argument or CURLOPT_BUFFERSIZE value).

CVSS Scores

version 3.1
Expand this section

NVD

9.8 critical
Expand this section

SUSE

7.5 high
Expand this section

Red Hat

7.5 high