Sensitive Information Exposure in Curl Package - CVE-2017-7407

curl Updated 02 Oct 2025

Summary

03/04/2017
N/A
Yes i
Low
2.4

ALPINE-CVE-2017-7407: The ourWriteOut function in tool_writeout.c in curl 7.53.1 might allow physically proximate attackers to obtain sensitive information from process memory in opportunistic circumstances by reading a workstation screen dur... Affects curl versions < 7.53.1-r2. Fixed in 7.53.1-r2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Curl is a widely used command-line tool and library for transferring data with URLs. It supports various protocols including HTTP, HTTPS, FTP, and more. The tool is essential for developers and system administrators for tasks such as downloading files, testing APIs, and automating web interactions. However, a vulnerability identified as CVE-2017-7407 has been discovered in Curl versions prior to 7.53.1-r2, which could expose sensitive information under certain conditions.

Vulnerability Detail

The vulnerability stems from the ourWriteOut function in tool_writeout.c within Curl version 7.53.1. It allows physically proximate attackers to obtain sensitive information from process memory by reading a workstation screen during the use of a --write-out argument that ends with a '%' character. This leads to a heap-based buffer over-read, potentially exposing sensitive data to unauthorized users. The CVSS score for this vulnerability is 2.4, indicating a low severity but still a risk that should be addressed.

How To Fix

Minimum fixed version

7.53.1-r2

This is the first release that contains the fix.

sudo apk add --upgrade curl

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid using the --write-out argument with a '%' character until the package is updated. This can help mitigate the risk of exposing sensitive information during usage.

Conclusion

CVE-2017-7407 is a vulnerability in the Curl package that can lead to sensitive information exposure. Users are encouraged to update to the patched version to ensure their systems are secure. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for curl →

Share this vulnerability

FAQ

CVE-2017-7407 is a vulnerability in the Curl package that allows attackers to potentially read sensitive information from process memory.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If exploited, this vulnerability could allow unauthorized users to access sensitive information displayed on the screen during the use of Curl.

Yes, a patch is available in Curl version 7.53.1-r2 and later. It is recommended to update to this version to mitigate the vulnerability.

If you cannot update Curl immediately, avoid using the --write-out argument with a '%' character as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for curl.

How To Fix

Minimum fixed version

7.53.1-r2

This is the first release that contains the fix.

sudo apk add --upgrade curl

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback