ubuntu-cve-2022-3171
Vulnerability from osv_ubuntu
Published
2022-10-12 23:15
Modified
2026-05-26 21:12
Summary
Details
A parsing issue with binary data in protobuf-java core and lite versions prior to 3.21.7, 3.20.3, 3.19.6 and 3.16.3 can lead to a denial of service attack. Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields causes objects to be converted back-n-forth between mutable and immutable forms, resulting in potentially long garbage collection pauses. We recommend updating to the versions mentioned above.
Severity
7.5 (High)
4.3 (Medium)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libprotobuf-java",
"binary_version": "2.5.0-9ubuntu1+esm1"
},
{
"binary_name": "libprotobuf-lite8",
"binary_version": "2.5.0-9ubuntu1+esm1"
},
{
"binary_name": "libprotobuf8",
"binary_version": "2.5.0-9ubuntu1+esm1"
},
{
"binary_name": "libprotoc8",
"binary_version": "2.5.0-9ubuntu1+esm1"
},
{
"binary_name": "protobuf-compiler",
"binary_version": "2.5.0-9ubuntu1+esm1"
},
{
"binary_name": "python-protobuf",
"binary_version": "2.5.0-9ubuntu1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "protobuf",
"purl": "pkg:deb/ubuntu/protobuf@2.5.0-9ubuntu1+esm1?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.4.1-3ubuntu2",
"2.4.1-3ubuntu3",
"2.4.1-3ubuntu4",
"2.5.0-5ubuntu2",
"2.5.0-7ubuntu1",
"2.5.0-8ubuntu1",
"2.5.0-9ubuntu1",
"2.5.0-9ubuntu1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libprotobuf-java",
"binary_version": "2.6.1-1.3ubuntu0.1~esm4"
},
{
"binary_name": "libprotobuf-lite9v5",
"binary_version": "2.6.1-1.3ubuntu0.1~esm4"
},
{
"binary_name": "libprotobuf9v5",
"binary_version": "2.6.1-1.3ubuntu0.1~esm4"
},
{
"binary_name": "libprotoc9v5",
"binary_version": "2.6.1-1.3ubuntu0.1~esm4"
},
{
"binary_name": "protobuf-compiler",
"binary_version": "2.6.1-1.3ubuntu0.1~esm4"
},
{
"binary_name": "python-protobuf",
"binary_version": "2.6.1-1.3ubuntu0.1~esm4"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "protobuf",
"purl": "pkg:deb/ubuntu/protobuf@2.6.1-1.3ubuntu0.1~esm4?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.6.1-1.2",
"2.6.1-1.3",
"2.6.1-1.3ubuntu0.1~esm1",
"2.6.1-1.3ubuntu0.1~esm2",
"2.6.1-1.3ubuntu0.1~esm4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libprotobuf-java",
"binary_version": "3.0.0-9.1ubuntu1.1+esm4"
},
{
"binary_name": "libprotobuf-lite10",
"binary_version": "3.0.0-9.1ubuntu1.1+esm4"
},
{
"binary_name": "libprotobuf10",
"binary_version": "3.0.0-9.1ubuntu1.1+esm4"
},
{
"binary_name": "libprotoc10",
"binary_version": "3.0.0-9.1ubuntu1.1+esm4"
},
{
"binary_name": "protobuf-compiler",
"binary_version": "3.0.0-9.1ubuntu1.1+esm4"
},
{
"binary_name": "python-protobuf",
"binary_version": "3.0.0-9.1ubuntu1.1+esm4"
},
{
"binary_name": "python3-protobuf",
"binary_version": "3.0.0-9.1ubuntu1.1+esm4"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "protobuf",
"purl": "pkg:deb/ubuntu/protobuf@3.0.0-9.1ubuntu1.1+esm4?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.0.0-9ubuntu5",
"3.0.0-9ubuntu6",
"3.0.0-9.1ubuntu1",
"3.0.0-9.1ubuntu1.1",
"3.0.0-9.1ubuntu1.1+esm3",
"3.0.0-9.1ubuntu1.1+esm4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libprotobuf-java",
"binary_version": "3.6.1.3-2ubuntu5.2+esm3"
},
{
"binary_name": "libprotobuf-lite17",
"binary_version": "3.6.1.3-2ubuntu5.2+esm3"
},
{
"binary_name": "libprotobuf17",
"binary_version": "3.6.1.3-2ubuntu5.2+esm3"
},
{
"binary_name": "libprotoc17",
"binary_version": "3.6.1.3-2ubuntu5.2+esm3"
},
{
"binary_name": "protobuf-compiler",
"binary_version": "3.6.1.3-2ubuntu5.2+esm3"
},
{
"binary_name": "python-protobuf",
"binary_version": "3.6.1.3-2ubuntu5.2+esm3"
},
{
"binary_name": "python3-protobuf",
"binary_version": "3.6.1.3-2ubuntu5.2+esm3"
},
{
"binary_name": "ruby-google-protobuf",
"binary_version": "3.6.1.3-2ubuntu5.2+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "protobuf",
"purl": "pkg:deb/ubuntu/protobuf@3.6.1.3-2ubuntu5.2+esm3?arch=source\u0026distro=esm-infra/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.6.1.3-2",
"3.6.1.3-2ubuntu1",
"3.6.1.3-2ubuntu3",
"3.6.1.3-2ubuntu4",
"3.6.1.3-2ubuntu5",
"3.6.1.3-2ubuntu5.2",
"3.6.1.3-2ubuntu5.2+esm2",
"3.6.1.3-2ubuntu5.2+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "elpa-protobuf-mode",
"binary_version": "3.12.4-1ubuntu7.22.04.6"
},
{
"binary_name": "libprotobuf-java",
"binary_version": "3.12.4-1ubuntu7.22.04.6"
},
{
"binary_name": "libprotobuf-lite23",
"binary_version": "3.12.4-1ubuntu7.22.04.6"
},
{
"binary_name": "libprotobuf23",
"binary_version": "3.12.4-1ubuntu7.22.04.6"
},
{
"binary_name": "libprotoc23",
"binary_version": "3.12.4-1ubuntu7.22.04.6"
},
{
"binary_name": "protobuf-compiler",
"binary_version": "3.12.4-1ubuntu7.22.04.6"
},
{
"binary_name": "python3-protobuf",
"binary_version": "3.12.4-1ubuntu7.22.04.6"
},
{
"binary_name": "ruby-google-protobuf",
"binary_version": "3.12.4-1ubuntu7.22.04.6"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "protobuf",
"purl": "pkg:deb/ubuntu/protobuf@3.12.4-1ubuntu7.22.04.6?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.12.4-1ubuntu3",
"3.12.4-1ubuntu5",
"3.12.4-1ubuntu6",
"3.12.4-1ubuntu7",
"3.12.4-1ubuntu7.22.04.1",
"3.12.4-1ubuntu7.22.04.2",
"3.12.4-1ubuntu7.22.04.4",
"3.12.4-1ubuntu7.22.04.6"
]
}
],
"aliases": [],
"details": "A parsing issue with binary data in protobuf-java core and lite versions prior to 3.21.7, 3.20.3, 3.19.6 and 3.16.3 can lead to a denial of service attack. Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields causes objects to be converted back-n-forth between mutable and immutable forms, resulting in potentially long garbage collection pauses. We recommend updating to the versions mentioned above.",
"id": "UBUNTU-CVE-2022-3171",
"modified": "2026-05-26T21:12:25Z",
"published": "2022-10-12T23:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2022-3171"
},
{
"type": "REPORT",
"url": "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2022-3171"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2022-3171"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
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…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
Loading…
Loading…