Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:46379
HistoryApr 12, 2024 - 9:08 a.m.

Arbitrary Code Execution

2024-04-1209:08:11
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
6
arbitrary code execution
transformers
deserialization
load_repo_checkpoint
tfpretrainedmodel
pickle.load
untrusted sources

CVSS3

3.4

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

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

AI Score

8.2

Confidence

Low

EPSS

0

Percentile

9.0%

transformers is vulnerable to Arbitrary Code Execution. This vulnerability is due to the deserialization of untrusted data within the load_repo_checkpoint() function in the TFPreTrainedModel() class, where attackers can exploit the use of pickle.load() on data from potentially untrusted sources to execute arbitrary code and commands.

CVSS3

3.4

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

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

AI Score

8.2

Confidence

Low

EPSS

0

Percentile

9.0%