Advisory

UBUNTU-CVE-2021-22570

Also known as: CVE-2021-22570

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

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2022-01-26 14:15 UTC
Modified
2026-04-22 12:48 UTC

Affected packages and fixes

protobuf

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 3.0.0-9.1ubuntu1.1 (ecosystem)

Fixed versions

3.0.0-9.1ubuntu1.1

Fix

  • Fixed version 3.0.0-9.1ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

protobuf

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 3.6.1.3-2ubuntu5.2 (ecosystem)

Fixed versions

3.6.1.3-2ubuntu5.2

Fix

  • Fixed version 3.6.1.3-2ubuntu5.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

protobuf

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 3.12.4-1ubuntu7.22.04.1 (ecosystem)

Fixed versions

3.12.4-1ubuntu7.22.04.1

Fix

  • Fixed version 3.12.4-1ubuntu7.22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences