Buffer Over-read Affecting stringio package, versions >=3.0.1, <3.0.1.1
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-STRINGIO-6476910
- published 22 Mar 2024
- disclosed 21 Mar 2024
- credit david_h1
Introduced: 21 Mar 2024
CVE-2024-27280 Open this link in a new tabHow to fix?
Upgrade stringio
to version 3.0.1.1 or higher.
Overview
Affected versions of this package are vulnerable to Buffer Over-read due to the improper handling of the ungetbyte
and ungetc
methods on a StringIO
object, which can read past the end of a string. An attacker can obtain sensitive information from memory by invoking StringIO.gets
after calling these methods.
References
CVSS Scores
version 3.1