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

Security: NULL Pointer Dereference in the function aes256_encrypt() #75

Closed
UVScan opened this issue Sep 2, 2022 · 1 comment · Fixed by #78
Closed

Security: NULL Pointer Dereference in the function aes256_encrypt() #75

UVScan opened this issue Sep 2, 2022 · 1 comment · Fixed by #78
Assignees

Comments

@UVScan
Copy link

UVScan commented Sep 2, 2022

Affected components

affected source code file: tools/ecdsa_keygen.c

Attack vector(s)

Lacking a check for the return value of EVP_CIPHER_CTX_new.
EVP_CIPHER_CTX_new() returns a pointer to a newly created EVP_CIPHER_CTX for success and NULL for failure.

Suggested description of the vulnerability for use in the CVE

Null pointer dereference vulnerability in aes256_encrypt() function in Samsung Electronics mTower v0.3.0 (and earlier) due to a missing check on the return value of EVP_CIPHER_CTX_new.

Discoverer(s)/Credits

UVScan

Reference(s)

https://www.openssl.org/docs/manmaster/man3/EVP_CIPHER_CTX_new.html

enc_ctx = EVP_CIPHER_CTX_new();

@tdrozdovsky tdrozdovsky self-assigned this Sep 4, 2022
@tdrozdovsky
Copy link
Contributor

The issue will be reviewed and fixed as soon as possible.

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

Successfully merging a pull request may close this issue.

2 participants