PYSEC-2020-107

Vulnerability from pysec - Published: 2020-05-15 19:15 - Updated: 2020-05-19 19:05
VLAI
Details

** DISPUTED ** scikit-learn (aka sklearn) through 0.23.0 can unserialize and execute commands from an untrusted file that is passed to the joblib.load() function, if reduce makes an os.system call. NOTE: third parties dispute this issue because the joblib.load() function is documented as unsafe and it is the user's responsibility to use the function in a secure manner.

Impacted products
Name purl
scikit-learn pkg:pypi/scikit-learn

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "scikit-learn",
        "purl": "pkg:pypi/scikit-learn"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.23.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.9",
        "0.10",
        "0.11",
        "0.12",
        "0.12.1",
        "0.13",
        "0.13.1",
        "0.14a1",
        "0.14",
        "0.14.1",
        "0.15.0b1",
        "0.15.0b2",
        "0.15.0",
        "0.15.1",
        "0.15.2",
        "0.16b1",
        "0.16.0",
        "0.16.1",
        "0.17b1",
        "0.17",
        "0.17.1",
        "0.18rc2",
        "0.18",
        "0.18.1",
        "0.18.2",
        "0.19b2",
        "0.19.0",
        "0.19.1",
        "0.19.2",
        "0.20rc1",
        "0.20.0",
        "0.20.1",
        "0.20.2",
        "0.20.3",
        "0.20.4",
        "0.21rc2",
        "0.21.0",
        "0.21.1",
        "0.21.2",
        "0.21.3",
        "0.22rc2.post1",
        "0.22rc3",
        "0.22",
        "0.22.1",
        "0.22.2",
        "0.22.2.post1",
        "0.23.0rc1",
        "0.23.0"
      ]
    }
  ],
  "aliases": [
    "CVE-2020-13092",
    "GHSA-jjw5-xxj6-pcv5"
  ],
  "details": "** DISPUTED ** scikit-learn (aka sklearn) through 0.23.0 can unserialize and execute commands from an untrusted file that is passed to the joblib.load() function, if __reduce__ makes an os.system call. NOTE: third parties dispute this issue because the joblib.load() function is documented as unsafe and it is the user\u0027s responsibility to use the function in a secure manner.",
  "id": "PYSEC-2020-107",
  "modified": "2020-05-19T19:05:00Z",
  "published": "2020-05-15T19:15:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/0FuzzingQ/vuln/blob/master/sklearn%20unserialize.md"
    },
    {
      "type": "WEB",
      "url": "https://scikit-learn.org/stable/modules/model_persistence.html#security-maintainability-limitations"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-jjw5-xxj6-pcv5"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…