Skops-dev skops
skops' MethodNode can access unexpected object fields through dot notation, leading to arbitrary code execution at load time
skops is a Python library which helps users share and ship their scikit-learn based models. Versions 0.11.0 and below contain an inconsistency in MethodNode, which can be exploited to access unexpected object fields through dot notation. This can be used to achieve arbitrary code execution at load time. While this issue may seem similar to GHSA-m7f4-hrc6-fwg3, it is actually more severe, as it relies on fewer assumptions about trusted types. This is fixed in version 12.0.0.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.7high · scored by CNA · CWE-351
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
skops-dev skops
- < 12.0.0
Fixed in 12.0.0
Mitigation
Upgrade skops to 12.0.0 or later.
References
- Vendor advisory github.com/skops-dev/skops/security/advisories…
- Vendor advisory github.com/skops-dev/skops/security/advisories…
- Patch github.com/skops-dev/skops/commit/0aeca055509d…
1 more
- Release notes github.com/skops-dev/skops/releases/tag/v0.12.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.