CVE-2018-7442

An issue was discovered in Leptonica through 1.75.3

published February 23, 2018

CVSS
—
EPSS
2%
Percentile
80.5
In the wild
Unconfirmed
What it is

⚠️ A crafty path traversal waits in Leptonica! The gplotMakeOutput function allows '/' characters in its rootname argument, which could lead to unexpected file overwrites. 🔥 Think of this like a restaurant that allows customers to order food items using someone else's table number—if the kitchen isn't careful, someone could end up with a meal they didn't order! If exploited, an attacker could overwrite critical files on the server, leading to data loss or service disruptions. Imagine the chaos of unexpected ingredients showing up in your dish after a dinner reservation mix-up!

Put simply

Think of this like a restaurant that allows customers to order food items using someone else's table number—if the kitchen isn't careful, someone could end up with a meal they didn't order! This vulnerability occurs because the gplotMakeOutput function does not adequately sanitize the gplot rootname input, allowing for malicious directory traversal and file manipulation.

What to do

If exploited, an attacker could overwrite critical files on the server, leading to data loss or service disruptions. Imagine the chaos of unexpected ingredients showing up in your dish after a dinner reservation mix-up! To protect against this issue, upgrade to Leptonica version 1.76.0 or later, where this vulnerability has been addressed. Additionally, ensure that proper input validation is implemented to block unexpected characters in file paths. 🛡️ You've got this! Follow these steps to safeguard your system and keep it running smoothly. 🚀

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01995 · 80.5th percentile
Published
2018-02-23T00:00Z
EPSS history
Timeline
  • 23 FEB 00:00Z
    An issue was discovered in Leptonica through 1.75.3
    cvelistv5