CVE-2018-1000120

Impact:
Moderate
Public Date:
2018-03-14
CWE:
CWE-787
Bugzilla:
1552628: CVE-2018-1000120 curl: FTP path trickery leads to NIL byte out of bounds write
It was found that libcurl did not safely parse FTP URLs when using the CURLOPT_FTP_FILEMETHOD method. An attacker, able to provide a specially crafted FTP URL to an application using libcurl, could write a NULL byte at an arbitrary location, resulting in a crash, or an unspecified behavior.

Find out more about CVE-2018-1000120 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v3 metrics

CVSS3 Base Score 5.4
CVSS3 Base Metrics CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality None
Integrity Impact Low
Availability Impact Low

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux 7 (curl) RHSA-2018:3157 2018-10-30
Red Hat Software Collections for Red Hat Enterprise Linux 6 (httpd24-curl) RHSA-2018:3558 2018-11-13
Red Hat Software Collections for Red Hat Enterprise Linux 7 (httpd24-curl) RHSA-2018:3558 2018-11-13

Affected Packages State

Platform Package State
Red Hat JBoss Core Services 1 curl Affected
Red Hat Enterprise Linux 6 curl Will not fix
Red Hat Enterprise Linux 5 curl Will not fix
Red Hat Ceph Storage 2 curl Will not fix
.NET Core 2.0 on Red Hat Enterprise Linux rh-dotnet20-curl Affected
.NET Core 2.0 on Red Hat Enterprise Linux rh-dotnet21-curl Affected
.NET Core 1.0 on Red Hat Enterprise Linux rh-dotnetcore10-curl Affected
.NET Core 1.0 on Red Hat Enterprise Linux rh-dotnetcore11-curl Affected

Acknowledgements

Red Hat would like to thank the Curl project for reporting this issue. Upstream acknowledges Duy Phan Thanh as the original reporter.

Mitigation

Preventing application from using non-default CURLOPT_FTP_FILEMETHOD will avoid triggering the vulnerable code.

External References

Last Modified
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.