cve.bz

CVE-2020-22219 flac project flac: Classic Buffer Overflow

7.8 highExploit referenceEPSS 0.8%

High (7.8) in flac project flac. EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
Buffer Overflow vulnerability in function bitwriter_grow_ in flac before 1.4.0 allows remote attackers to run arbitrary code via crafted input to the encoder.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 57th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-10-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-22219 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-22219?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-22219?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-22219 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
flac_project:flacbefore 1.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10flac1.3.2-3+deb10u3DLA-3581-1
Debian11flac1.3.3-2+deb11u2DSA-5500-1
Debian12, 13, 14flac1.4.1-1DEBIAN-CVE-2020-22219
Ubuntu20.04:LTSflac1.3.3-1ubuntu0.2UBUNTU-CVE-2020-22219 USN-6360-1
Ubuntu22.04:LTSflac1.3.3-2ubuntu0.2UBUNTU-CVE-2020-22219 USN-6360-1
UbuntuPro:14.04:LTSflac1.3.0-2ubuntu0.14.04.1+esm2UBUNTU-CVE-2020-22219 USN-6360-2
UbuntuPro:16.04:LTSflac1.3.1-4ubuntu0.1~esm2UBUNTU-CVE-2020-22219 USN-6360-2
UbuntuPro:18.04:LTSflac1.3.2-1ubuntu0.1+esm1UBUNTU-CVE-2020-22219 USN-6360-2
Red Hatenterprise_linux:8::appstreamflac, flac-libs, flac-debuginfo and 2 more0:1.3.2-9.el8_8.1RHSA-2023:5046
Red Hatenterprise_linux:8::crbflac, flac-devel, flac-debuginfo and 2 more0:1.3.2-9.el8_8.1RHSA-2023:5046
Red Hatenterprise_linux:9::appstreamflac, flac-libs, flac-debuginfo and 2 more0:1.3.3-10.el9_2.1RHSA-2023:5048
Red Hatenterprise_linux:9::crbflac, flac-devel, flac-debuginfo and 2 more0:1.3.3-10.el9_2.1RHSA-2023:5048
Red Hatrhel_aus:8.2::appstream, rhel_e4s:8.2::appstream, rhel_tus:8.2::appstreamflac, flac-libs, flac-debuginfo and 2 more0:1.3.2-9.el8_2.1RHSA-2023:5043
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreamflac, flac-libs, flac-debuginfo and 2 more0:1.3.2-9.el8_4.1RHSA-2023:5044
Red Hatrhel_e4s:8.1::appstreamflac, flac-libs, flac-debuginfo and 2 more0:1.3.2-9.el8_1.1RHSA-2023:5042
Red Hatrhel_eus:8.6::appstreamflac, flac-libs, flac-debuginfo and 2 more0:1.3.2-9.el8_6.1RHSA-2023:5045
Red Hatrhel_eus:8.6::crbflac, flac-devel, flac-debuginfo and 2 more0:1.3.2-9.el8_6.1RHSA-2023:5045
Red Hatrhel_eus:9.0::appstreamflac, flac-libs, flac-debuginfo and 2 more0:1.3.3-9.el9_0.1RHSA-2023:5047
Red Hatrhel_eus:9.0::crbflac, flac-devel, flac-debuginfo and 2 more0:1.3.3-9.el9_0.1RHSA-2023:5047
SUSELinux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Package Hub 15 SP4 and 3 moreflac1.3.2-150000.3.14.1SUSE-SU-2023:3635-1
openSUSELeap 15.4, Leap 15.5flac1.3.2-150000.3.14.1SUSE-SU-2023:3635-1
AlmaLinux8flac, flac-libs, flac-devel1.3.2-9.el8_8.1ALSA-2023:5046
AlmaLinux9flac, flac-libs, flac-devel1.3.3-10.el9_2.1ALSA-2023:5048
Rocky Linux9flac0:1.3.3-10.el9_2.1RLSA-2023:5048
Azure Linux2flac1.4.3-1AZL-28074

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This CVE marked as important as it can allow authenticated remote users to execute arbitrary code, or allow remote users to cause a denial of service.

flac-1.3.0 in Red Hat Enterprise Linux 7 is not impacted. As it doesn't have the safe_realloc function, so not leaks memory.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8flac-0:1.3.2-9.el8_8.1Fixed 2023-09-11RHSA-2023:5046
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsflac-0:1.3.2-9.el8_1.1Fixed 2023-09-11RHSA-2023:5042
Red Hat Enterprise Linux 8.2 Advanced Update Supportflac-0:1.3.2-9.el8_2.1Fixed 2023-09-11RHSA-2023:5043
Red Hat Enterprise Linux 8.2 Telecommunications Update Serviceflac-0:1.3.2-9.el8_2.1Fixed 2023-09-11RHSA-2023:5043
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionsflac-0:1.3.2-9.el8_2.1Fixed 2023-09-11RHSA-2023:5043
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportflac-0:1.3.2-9.el8_4.1Fixed 2023-09-11RHSA-2023:5044
Red Hat Enterprise Linux 8.4 Telecommunications Update Serviceflac-0:1.3.2-9.el8_4.1Fixed 2023-09-11RHSA-2023:5044
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionsflac-0:1.3.2-9.el8_4.1Fixed 2023-09-11RHSA-2023:5044
Red Hat Enterprise Linux 8.6 Extended Update Supportflac-0:1.3.2-9.el8_6.1Fixed 2023-09-11RHSA-2023:5045
Red Hat Enterprise Linux 9flac-0:1.3.3-10.el9_2.1Fixed 2023-09-11RHSA-2023:5048
Red Hat Enterprise Linux 6flacOut of support scope
Red Hat Enterprise Linux 7flacNot affected
Red Hat OpenShift Container Platform 4flacNot affected
Red Hat OpenShift Container Platform 4flatpak-runtime-containerNot affected
Red Hat OpenShift Container Platform 4flatpak-sdk-containerNot affected
Red Hat OpenShift Container Platform 4openshift4/network-tools-rhel8Not affected
Red Hat OpenStack Platform 17.0flacNot affected
Red Hat OpenStack Platform 17.0openstack-nova-libvirt-containerNot affected
Red Hat OpenStack Platform 17.1flacNot affected
Red Hat OpenStack Platform 17.1flatpak-runtime-containerNot affected
11 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-22219.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON