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

NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.

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

Affected Packages State

Platform Package State
Red Hat Software Collections for Red Hat Enterprise Linux httpd24-curl Affected
Red Hat JBoss Core Services 1 curl Affected
Red Hat Enterprise Linux 7 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 Under investigation
.NET Core 1.0 on Red Hat Enterprise Linux rh-dotnetcore10-curl Under investigation
.NET Core 1.0 on Red Hat Enterprise Linux rh-dotnetcore11-curl Under investigation

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.