Advisory

PYSEC-2022-48

Also known as: CVE-2021-22570, GHSA-77rm-9x9h-xj3g

Summary

The record has no summary.

Details

Nullptr dereference when a null char is present in a proto symbol. The symbol is parsed incorrectly, leading to an unchecked call into the proto file's name during generation of the resulting error message. Since the symbol is incorrectly parsed, the file is nullptr. We recommend upgrading to version 3.15.0 or greater.

Severity

Not rated by the source.

Dates

Published
2022-01-26 14:15 UTC
Modified
2026-01-28 03:41 UTC

Affected packages and fixes

protobuf

PyPI · All systems

Affected

  • introduced 0, fixed 3.15.0 (ecosystem)

Fixed versions

3.15.0

Fix

  • Fixed version 3.15.0
    pip install --upgrade protobuf==3.15.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences