Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 649
    • Issues 649
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 205
    • Merge Requests 205
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #10497

Closed
Open
Opened May 28, 2019 by Alicha CH@alichaReporter

[3.9] curl: Multiple vulnerabilities (CVE-2019-5435, CVE-2019-5436)

CVE-2019-5435: Integer overflows in curl_url_set()

libcurl contains two integer overflows in the curl_url_set() function that if triggered, can lead to
a too small buffer allocation and a subsequent heap buffer overflow.

Affected versions: libcurl 7.62.0 to and including 7.64.1
Not affected versions: libcurl < 7.62.0 and >= libcurl 7.65.0

Reference:

https://curl.haxx.se/docs/CVE-2019-5435.html

Patch:

https://github.com/curl/curl/commit/5fc28510a4664f4

CVE-2019-5436: TFTP receive buffer overflow

libcurl contains a heap buffer overflow in the function (tftp_receive_packet()) that recevives data from
a TFTP server. It calls recvfrom() with the default size for the buffer rather than with the size that was
used to allocate it. Thus, the content that might overwrite the heap memory is entirely controlled by the server.

The flaw exists if the user selects to use a “blksize” of 504 or smaller (default is 512). The smaller size that is used,
the larger the possible overflow becomes. Users chosing a smaller size than default should be rare as the primary
use case for changing the size is to make it larger.

Affected versions: libcurl 7.19.4 to and including 7.64.1
Not affected versions: libcurl < 7.19.4 and >= libcurl 7.65.0

Reference:

https://curl.haxx.se/docs/CVE-2019-5436.html

Patch:

https://github.com/curl/curl/commit/2576003415625d7b5f0e390902f8097830b82275

(from redmine: issue id 10497, created on 2019-05-28, closed on 2019-06-06)

  • Relations:
    • parent #10496 (closed)
  • Changesets:
    • Revision f4c02c83 on 2019-06-05T06:35:39Z:
main/curl: security fixes (CVE-2019-5435, CVE-2019-5436)

Fixes #10497
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
3.9.5
Milestone
3.9.5
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/aports#10497