CVE-2021-3800
published 2022-08-23CVE-2021-3800: A flaw was found in glib before version 2.63.6. Due to random charset alias, pkexec can leak content from files owned by privileged users to unprivileged ones…
PriorityP422medium5.5CVSS 3.1
AVLACLPRNUIRSUCHINAN
EPSS
0.53%
41.3th percentile
A flaw was found in glib before version 2.63.6. Due to random charset alias, pkexec can leak content from files owned by privileged users to unprivileged ones under the right condition.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | glib2.0 | < glib2.0 2.64.0-1 (bookworm) | glib2.0 2.64.0-1 (bookworm) |
| gnome | glib | < 2.62.5 | 2.62.5 |
| gnome | glib | — | — |
| gnome | glib | >= 2.63.0 < 2.63.6 | 2.63.6 |
| msrc | cm1_glib_2.58.0-10_on_cbl_mariner_1.0 | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
A flaw was found in glib before version 2.63.6. Due to random charset alias pkexec can leak content from files owned by privileged users to unprivileged ones under the right condition.
vendor_msrc·2022-08-09·CVSS 5.5
CVE-2021-3800 [MEDIUM] CWE-200 A flaw was found in glib before version 2.63.6. Due to random charset alias pkexec can leak content from files owned by privileged users to unprivileged ones under the right condition.
A flaw was found in glib before version 2.63.6. Due to random charset alias pkexec can leak content from files owned by privileged users to unprivileged ones under the right condition.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect
Ubuntu
GLib vulnerability
vendor_ubuntu·2021-12-13
CVE-2021-3800 GLib vulnerability
Title: GLib vulnerability
Summary: GLib could be used to escalate privilege if it received specially crafted
input.
It was discovered that GLib incorrectly handled certain environment variables.
An attacker could possibly use this issue to escalate privileges.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
glib2: Possible privilege escalation thourgh pkexec and aliases
vendor_redhat·2021-03-04·CVSS 5.5
CVE-2021-3800 [MEDIUM] CWE-838 glib2: Possible privilege escalation thourgh pkexec and aliases
glib2: Possible privilege escalation thourgh pkexec and aliases
A flaw was found in glib before version 2.63.6. Due to random charset alias, pkexec can leak content from files owned by privileged users to unprivileged ones under the right condition.
Package: firefox (Red Hat Enterprise Linux 6) - Out of support scope
Package: glib2 (Red Hat Enterprise Linux 6) - Out of support scope
Package: firefox (Red Hat Enterprise Linux 7) - Out of support scope
Package: glib2 (Red Hat Enterprise Linux 7) - Out of support scope
Package: firefox (Red Hat Enterprise Linux 8) - Not affected
Package: firefox:flatpak/firefox (Red Hat Enterprise Linux 8) - Will not fix
Package: mingw-glib2 (Red Hat Enterprise Linux 8) - Not affected
Package: firefox (Red Hat Enterprise Linux 9) - Not affected
Pack
Debian
CVE-2021-3800: glib2.0 - A flaw was found in glib before version 2.63.6. Due to random charset alias, pke...
vendor_debian·2021·CVSS 5.5
CVE-2021-3800 [MEDIUM] CVE-2021-3800: glib2.0 - A flaw was found in glib before version 2.63.6. Due to random charset alias, pke...
A flaw was found in glib before version 2.63.6. Due to random charset alias, pkexec can leak content from files owned by privileged users to unprivileged ones under the right condition.
Scope: local
bookworm: resolved (fixed in 2.64.0-1)
bullseye: resolved (fixed in 2.64.0-1)
forky: resolved (fixed in 2.64.0-1)
sid: resolved (fixed in 2.64.0-1)
trixie: resolved (fixed in 2.64.0-1)
GHSA
GHSA-58w9-h6f7-f979: A flaw was found in glib before version 2
ghsa_unreviewed·2022-08-24
CVE-2021-3800 [HIGH] CWE-200 GHSA-58w9-h6f7-f979: A flaw was found in glib before version 2
A flaw was found in glib before version 2.63.6. Due to random charset alias, pkexec can leak content from files owned by privileged users to unprivileged ones under the right condition.
OSV
CVE-2021-3800: A flaw was found in glib before version 2
osv·2022-08-23·CVSS 5.5
CVE-2021-3800 [MEDIUM] CVE-2021-3800: A flaw was found in glib before version 2
A flaw was found in glib before version 2.63.6. Due to random charset alias, pkexec can leak content from files owned by privileged users to unprivileged ones under the right condition.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://access.redhat.com/security/cve/CVE-2021-3800https://bugzilla.redhat.com/show_bug.cgi?id=1938284https://gitlab.gnome.org/GNOME/glib/-/commit/3529bb4450a51995https://lists.debian.org/debian-lts-announce/2022/09/msg00020.htmlhttps://security.netapp.com/advisory/ntap-20221028-0004/https://www.openwall.com/lists/oss-security/2017/06/23/8https://access.redhat.com/security/cve/CVE-2021-3800https://bugzilla.redhat.com/show_bug.cgi?id=1938284https://gitlab.gnome.org/GNOME/glib/-/commit/3529bb4450a51995https://lists.debian.org/debian-lts-announce/2022/09/msg00020.htmlhttps://security.netapp.com/advisory/ntap-20221028-0004/https://www.openwall.com/lists/oss-security/2017/06/23/8
2022-08-23
Published