Out-of-bounds Read Affecting libcurl-devel package, versions <0:7.61.1-9.amzn2.0.1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating

    Threat Intelligence

    EPSS
    0.41% (75th 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-1668996
  • published 27 Sep 2021
  • disclosed 6 Feb 2019

How to fix?

Upgrade Amazon-Linux:2 libcurl-devel to version 0:7.61.1-9.amzn2.0.1 or higher.
This issue was patched in ALAS2-2019-1162.

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.

libcurl versions from 7.34.0 to before 7.64.0 are vulnerable to a heap out-of-bounds read in the code handling the end-of-response for SMTP. If the buffer passed to smtp_endofresp() isn't NUL terminated and contains no character ending the parsed number, and len is set to 5, then the strtol() call reads beyond the allocated buffer. The read contents will not be returned to the caller.

CVSS Scores

version 3.1
Expand this section

NVD

7.5 high
Expand this section

SUSE

4.3 medium
Expand this section

Red Hat

4.3 medium