Vulnerability Details : CVE-2020-35457
Potential exploit
GNOME GLib before 2.65.3 has an integer overflow, that might lead to an out-of-bounds write, in g_option_group_add_entries. NOTE: the vendor's position is "Realistically this is not a security issue. The standard pattern is for callers to provide a static list of option entries in a fixed number of calls to g_option_group_add_entries()." The researcher states that this pattern is undocumented
Vulnerability category: Overflow
Products affected by CVE-2020-35457
- cpe:2.3:a:gnome:glib:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-35457
0.06%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 16 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-35457
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.6
|
MEDIUM | AV:L/AC:L/Au:N/C:P/I:P/A:P |
3.9
|
6.4
|
NIST | |
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2020-35457
-
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.Assigned by: nvd@nist.gov (Primary)
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-35457
-
https://gitlab.gnome.org/GNOME/glib/-/issues/2197
Segfaulting Integer Overflow in g_option_group_add_entries (#2197) · Issues · GNOME / GLib · GitLabExploit;Vendor Advisory
-
https://gitlab.gnome.org/GNOME/glib/-/commit/63c5b62f0a984fac9a9700b12f54fe878e016a5d
goption: Add a precondition to avoid GOptionEntry list overflow (63c5b62f) · Commits · GNOME / GLib · GitLabPatch;Vendor Advisory
-
https://gitlab.gnome.org/GNOME/glib/-/releases/2.65.3
2.65.3 · GNOME / GLib · GitLabRelease Notes;Vendor Advisory
Jump to