postgrex is vulnerable to Code Injection
80
CVE Score
High
Code Injection
Affected versions of the package are vulnerable to code injection due to improper handling of byte lengths in the PostgreSQL binary protocol. Clients that fail to check the length of bytes before encoding the 4-length bytes allow attackers to send data greater than 2^32, causing an overflow. This overflow enables the smuggling of an additional message, potentially leading to code execution or other malicious behavior.
Upgrade the postgrex library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.7.0 - 0.19.1
Fixed in 0.19.2postgrex is vulnerable to Code Injection in versions 0.7.0 - 0.19.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.