Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:44788
HistoryDec 22, 2023 - 6:58 a.m.

Insecure Deserialization

2023-12-2206:58:38
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
3
insecure deserialization
huggingface transformers
vulnerability
pickle files
index_path
config.json
arbitrary code
attacker
backend repo
public model

CVSS3

8.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

7.6

Confidence

High

EPSS

0.001

Percentile

20.5%

huggingface transformers is vulnerable to Insecure Deserialization. The vulnerability is due to the ability to load arbitrary pickle files from other repos specified by the index_path while parsing the remote config.json fille. An attacker can exploit this flaw to execute arbitrary code on the victim machine by specifying a backend repo to pull a pickle file from in a public huggingface model.

CVSS3

8.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

7.6

Confidence

High

EPSS

0.001

Percentile

20.5%

Related for VERACODE:44788