CVE-2021-45930 Memory corruption in n/a
An out-of-bounds write in Qt SVG allows attackers to execute arbitrary code or cause a denial of service via crafted SVG files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-45930?
CVE-2021-45930 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 31 Dec 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Qt SVG in Qt 5.0.0 through 5.15.2 and 6.0.0 through 6.2.1 has an out-of-bounds write in QtPrivate::QCommonArrayOps<QPainterPath::Element>::growAppend (called from QPainterPath::addPath and QPathClipper::intersect).
Weakness: CWE-787
Which versions are affected by CVE-2021-45930?
It affects 3 products.
Linux distribution packages (10)
qt5-qtsvg AlmaLinux:8 | All versions | 5.15.2-4.el8 |
qt5-qtsvg-devel AlmaLinux:8 | All versions | 5.15.2-4.el8 |
qt5-qtsvg-examples AlmaLinux:8 | All versions | 5.15.2-4.el8 |
qt5-qtsvg Red Hat:enterprise_linux:8::appstream | All versions | 0:5.15.2-4.el8 |
qt5-qtsvg-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:5.15.2-4.el8 |
qt5-qtsvg-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:5.15.2-4.el8 |
qt5-qtsvg-devel Red Hat:enterprise_linux:8::appstream | All versions | 0:5.15.2-4.el8 |
qt5-qtsvg-examples Red Hat:enterprise_linux:8::appstream | All versions | 0:5.15.2-4.el8 |
qt5-qtsvg-examples-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:5.15.2-4.el8 |
qt5-qtsvg-tests-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:5.15.2-4.el8 |
Products include Debian Debian Linux, Fedoraproject Fedora, Qt Qtsvg.
How do I fix CVE-2021-45930?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-45930 being exploited?
There is no known exploitation of CVE-2021-45930 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALSA-2022:1920, DEBIAN-CVE-2021-45930, GHSA-66fw-grvj-p2h2, OESA-2022-1493, RHSA-2022:1920, UBUNTU-CVE-2021-45930 and 1 more.