Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1 High and 1 Medium vulnerabilities detected when using an automatic vulnerability-detection tool #29

Open
Schneider-Electric-Carros opened this issue May 10, 2021 · 0 comments

Comments

@Schneider-Electric-Carros
Copy link

Context where the vulnerabilities are detected

Steps to reproduce:

Create a Hello World application importing xeodou/go-sqlcipher
Build the application
Scan the result with Black Duck Binary Analysis

Expected behavior:

No vulnerablities should be reported.

Actual behavior:

1 High and 1 Medium vulnerabilities are detected.

More details on the vulnerabilities:

High (CVE-2021-3119)

Zetetic SQLCipher 4.x before 4.4.3 has a NULL pointer dereferencing issue related to sqlcipher_export in crypto.c and sqlite3StrICmp in sqlite3.c. This may allow an attacker to perform a remote denial of service attack. For example, an SQL injection can be used to execute the crafted SQL command sequence, which causes a segmentation fault.

Medium (CVE-2020-27207)

Zetetic SQLCipher 4.x before 4.4.1 has a use-after-free, related to sqlcipher_codec_pragma and sqlite3Strlen30 in sqlite3.c. A remote denial of service attack can be performed. For example, a SQL injection can be used to execute the crafted SQL command sequence. After that, some unexpected RAM data is read.

Additional details

I know that you are not responsible, technically speaking,of the SQLCipher from Zetetic. I am just afraid that you are wrapping in Go, an outdated version of SQLCipher.

@Schneider-Electric-Carros Schneider-Electric-Carros changed the title 2 High vulnerabilities detected when using an automatic vulnerability-detection tool 1 High and 1 Medium vulnerabilities detected when using an automatic vulnerability-detection tool May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant