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: DoS vulnerability in function createDB() #5627

Open
UVScan opened this issue Sep 2, 2022 · 0 comments
Open

Security: DoS vulnerability in function createDB() #5627

UVScan opened this issue Sep 2, 2022 · 0 comments
Assignees

Comments

@UVScan
Copy link

UVScan commented Sep 2, 2022

Affected components

affected source code file: external/iotivity/iotivity_1.2-rel/resource/csdk/security/provisioning/src/provisioningdatabasemanager.c

Attack vector(s)

Missing sqlite3_close after sqlite3_open_v2.
Whether or not an error occurs when it is opened, resources associated with the database connection handle should be released by passing it to sqlite3_close() when it is no longer required.

Suggested description of the vulnerability for use in the CVE

DoS vulnerability in createDB() function in Samsung Electronics TizenRT latest version (and earlier) due to missing sqlite3_close after sqlite3_open_v2.

Discoverer(s)/Credits

UVScan

Reference(s)

https://www.sqlite.org/c3ref/open.html

result = sqlite3_open_v2(path, &g_db, SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE, NULL);

@UVScan UVScan changed the title Security: Privacy leakage in function cyassl_connect_step2() Security: DoS vulnerability in function createDB() Sep 2, 2022
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

3 participants