Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1553398 - (CVE-2018-1000122) CVE-2018-1000122 curl: RTSP RTP buffer over-read
CVE-2018-1000122 curl: RTSP RTP buffer over-read
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20180314,repor...
: Security
Depends On: 1555207 1555208 1555221 1555209 1555210 1565032
Blocks: 1552634
  Show dependency treegraph
 
Reported: 2018-03-08 14:29 EST by Pedro Sampaio
Modified: 2018-10-30 03:43 EDT (History)
25 users (show)

See Also:
Fixed In Version: curl 7.59.0
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
upstream patch (1.30 KB, patch)
2018-03-08 14:38 EST, Pedro Sampaio
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:3157 None None None 2018-10-30 03:43 EDT

  None (edit)
Description Pedro Sampaio 2018-03-08 14:29:14 EST
curl can be tricked into copying data beyond end of its heap based buffer.

When asked to transfer an RTSP URL, curl could calculate a wrong data length
to copy from the read buffer. The memcpy call would copy data from the heap
following the buffer to a storage area that would subsequently be delivered to
the application (if it didn't cause a crash). We've managed to get it to reach
several hundreds bytes out of range.

This could lead to information leakage or a denial of service for the
application if the server offering the RTSP data can trigger this.
Comment 2 Pedro Sampaio 2018-03-08 14:38 EST
Created attachment 1405982 [details]
upstream patch
Comment 3 Adam Mariš 2018-03-14 03:29:27 EDT
Acknowledgments:

Name: the Curl project
Upstream: Max Dymond
Comment 4 Adam Mariš 2018-03-14 03:29:38 EDT
External References:

https://curl.haxx.se/docs/adv_2018-b047.html
Comment 5 Adam Mariš 2018-03-14 03:34:04 EDT
Created mingw-curl tracking bugs for this issue:

Affects: fedora-all [bug 1555207]


Created curl tracking bugs for this issue:

Affects: fedora-all [bug 1555209]


Created mingw-curl tracking bugs for this issue:

Affects: epel-7 [bug 1555208]
Comment 8 Cedric Buissart 2018-03-14 05:56:47 EDT
Upstream fix:
 readwrite: make sure excess reads don't go beyond buffer end
https://github.com/curl/curl/commit/d52dc4760f
Comment 12 errata-xmlrpc 2018-10-30 03:43:27 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:3157 https://access.redhat.com/errata/RHSA-2018:3157

Note You need to log in before you can comment on or make changes to this bug.