Intel

AIKIDO-2024-10268

opentelemetry-instrumentation-pg is vulnerable to Exposure of Sensitive Information

Exposure of Sensitive Information Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Sep 13, 2024

25

Low Risk

This Affects:

rubyopentelemetry-instrumentation-pg
0.25.0 - 0.28.0
Fixed in 0.29.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package may expose sensitive information. A bug in the SQL obfuscation helper, intended for use in database adapter instrumentation, causes the obfuscation to fail when the length of the SQL statement exceeds the obfuscation limit. This results in sensitive data being exposed.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

opentelemetry-instrumentation-pg is vulnerable to Exposure of Sensitive Information in versions 0.25.0 - 0.28.0.

How to fix this

Upgrade the opentelemetry-instrumentation-pg library to the patch version.