Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:45466
HistoryFeb 13, 2024 - 8:15 a.m.

Use After Free

2024-02-1308:15:40
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
10
vulnerability
libopensc.so
authentic_emu_update_tokeninfo
memory
use-after-free

3.4 Low

CVSS3

Attack Vector

PHYSICAL

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

6.8 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

10.4%

libopensc.so is vulnerable to Use After Free. The vulnerability is caused when a user or administrator enrolls or modifies cards, due to the authentic_emu_update_tokeninfo function in pkcs15-authentic.c only freeing memory if the sc_get_challenge function does not return an error, potentially leaving allocated memory unmanaged upon failure, creating a use-after-free vulnerability.

3.4 Low

CVSS3

Attack Vector

PHYSICAL

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

6.8 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

10.4%