Vulnerability Details : CVE-2022-40278
Potential exploit
An issue was discovered in Samsung TizenRT through 3.0_GBM (and 3.1_PRE). createDB in security/provisioning/src/provisioningdatabasemanager.c has a missing sqlite3_free after sqlite3_exec, leading to a denial of service.
Vulnerability category: Denial of service
Products affected by CVE-2022-40278
- cpe:2.3:o:samsung:tizenrt:3.0:gbm:*:*:*:*:*:*
- cpe:2.3:o:samsung:tizenrt:1.0:m1:*:*:*:*:*:*
- cpe:2.3:o:samsung:tizenrt:1.1:*:*:*:*:*:*:*
- cpe:2.3:o:samsung:tizenrt:2.0:gbm_m1:*:*:*:*:*:*
- cpe:2.3:o:samsung:tizenrt:2.0:m2:*:*:*:*:*:*
- cpe:2.3:o:samsung:tizenrt:3.1:pre:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-40278
0.16%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 33 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-40278
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2022-40278
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-40278
-
https://github.com/Samsung/TizenRT/blob/f8f776dd183246ad8890422c1ee5e8f33ab2aaaf/external/iotivity/iotivity_1.2-rel/resource/csdk/security/provisioning/src/provisioningdatabasemanager.c#L107
TizenRT/provisioningdatabasemanager.c at f8f776dd183246ad8890422c1ee5e8f33ab2aaaf · Samsung/TizenRT · GitHubExploit;Third Party Advisory
-
https://www.sqlite.org/c3ref/exec.html
One-Step Query Execution InterfaceTechnical Description;Third Party Advisory
-
https://github.com/Samsung/TizenRT/issues/5628
Security: DoS vulnerability in function createDB() · Issue #5628 · Samsung/TizenRT · GitHubIssue Tracking;Third Party Advisory
-
https://github.com/Samsung/TizenRT/blob/f8f776dd183246ad8890422c1ee5e8f33ab2aaaf/external/iotivity/iotivity_1.2-rel/resource/csdk/security/provisioning/src/provisioningdatabasemanager.c#L103
TizenRT/provisioningdatabasemanager.c at f8f776dd183246ad8890422c1ee5e8f33ab2aaaf · Samsung/TizenRT · GitHubExploit;Third Party Advisory
Jump to