#VU72164 Code Injection in py3-joblib - CVE-2022-21797


Vulnerability identifier: #VU72164

Vulnerability risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2022-21797

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
py3-joblib
Other software / Other software solutions

Vendor: joblib.readthedocs.org

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists in the pre_dispatch flag in Parallel() class due to the eval() statement. A remote attacker can send a specially crafted request and execute arbitrary code on the target system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

py3-joblib: 0.4.1 - 1.1.1


External links
https://github.com/joblib/joblib/commit/b90f10efeb670a2cc877fb88ebb3f2019189e059
https://github.com/joblib/joblib/issues/1128
https://github.com/joblib/joblib/pull/1321
https://security.snyk.io/vuln/SNYK-PYTHON-JOBLIB-3027033
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BVOMMW37OXZWU2EV5ONAAS462IQEHZOF/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MJ5XTJS6OKJRRVXWFN5J67K3BYPEOBDF/
https://lists.debian.org/debian-lts-announce/2022/11/msg00020.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability