GHSA-cvp7-c586-cmf4

Suggest an improvement
Source
https://github.com/advisories/GHSA-cvp7-c586-cmf4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-cvp7-c586-cmf4/GHSA-cvp7-c586-cmf4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cvp7-c586-cmf4
Aliases
  • CVE-2022-0329
Withdrawn
2022-02-01T15:17:33Z
Published
2022-01-28T22:01:45Z
Modified
2026-09-10T03:49:10Z
Summary
Withdrawn: Code Injection in loguru
Details

Withdrawn

This advisory has been withdrawn after the maintainers of loguru noted this issue is not a security vulnerability and the CVE has been revoked. We have stopped Dependabot alerts regarding this issue.

Original Description

In versions of loguru up to and including 0.5.3 a lack of sanitization on log serialization can lead to arbitrary code execution. The maintainer disputes the issue, but has altered behavior of the library in commit 4b0070a4f30cbf6d5e12e6274b242b62ea11c81b. See https://github.com/Delgan/loguru/issues/563 for further discussion of the issue. The function in question is intended for internal use only, but is not restricted. This has been patched in version 0.6.0.

Database specific
{
    "cwe_ids": [
        "CWE-94"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2022-01-25T23:33:20Z",
    "nvd_published_at": "2022-01-21T11:15:00Z",
    "severity": "LOW"
}
References

Affected packages

PyPI / loguru

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.6.0

Affected versions

0.*
0.1.0
0.2.0
0.2.1
0.2.2
0.2.3
0.2.4
0.2.5
0.3.0
0.3.1
0.3.2
0.4.0
0.4.1
0.5.0
0.5.1
0.5.2
0.5.3

Database specific

last_known_affected_version_range
"<= 0.5.3"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-cvp7-c586-cmf4/GHSA-cvp7-c586-cmf4.json"