CVE-2017-9728

In uClibc 0.9.33.2, there is an out-of-bounds read in the get_subexp function in misc/regex/regexec.c when processing a crafted regular expression

published June 16, 2017

CVSS
—
EPSS
1%
Percentile
68.6
In the wild
Unconfirmed
What it is

⚠️ A crafty regex can pull a fast one! In uClibc 0.9.33.2, there's an out-of-bounds read in the get_subexp function that could lead to unexpected behavior. 🕵️‍♂️ Think of this vulnerability like a sneaky waiter who might accidentally serve you someone else’s food by misreading the order. If they don’t check the order properly, they could end up bringing you a dish that’s not just wrong, but could also spill everywhere! An attacker could exploit this vulnerability to access unintended memory locations. While this may not guarantee catastrophic consequences, it could lead to application crashes or disclosure of sensitive information, which is definitely not a good dining experience!

Put simply

Think of this vulnerability like a sneaky waiter who might accidentally serve you someone else’s food by misreading the order. If they don’t check the order properly, they could end up bringing you a dish that’s not just wrong, but could also spill everywhere! The flaw arises in uClibc's regex handling, where crafted regular expressions can result in the application reading memory it shouldn't, particularly in the get_subexp function.

What to do

An attacker could exploit this vulnerability to access unintended memory locations. While this may not guarantee catastrophic consequences, it could lead to application crashes or disclosure of sensitive information, which is definitely not a good dining experience! Developers should review their usage of uClibc and consider updating to a patched version, if available. It's also wise to conduct a thorough review of regex patterns in their applications to ensure they're not susceptible to this kind of mishap. You've got this! With some careful review and updates, you can keep your systems secure and running smoothly. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01232 · 68.6th percentile
Published
2017-06-16T15:00Z
EPSS history
Timeline
  • 16 JUN 15:00Z
    In uClibc 0.9.33.2, there is an out-of-bounds read in the get_subexp function in misc/regex/regexec.c when processing a crafted regular expression
    cvelistv5