Out-of-bounds Read Affecting libcurl-devel package, versions <0:7.61.1-11.el8


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating

    Threat Intelligence

    EPSS
    0.36% (73rd 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-RHEL8-LIBCURLDEVEL-3599661
  • published 26 Jul 2021
  • disclosed 6 Feb 2019

How to fix?

Upgrade RHEL:8 libcurl-devel to version 0:7.61.1-11.el8 or higher.
This issue was patched in RHSA-2019:3701.

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 RHEL. See How to fix? for RHEL:8 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.