postgrex is vulnerable to Code Injection
80
High Risk
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.
You are affected if you are using a version that falls within the vulnerable range.
postgrex is vulnerable to Code Injection in versions 0.7.0 - 0.19.1.
Upgrade the postgrex library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant