openSUSE-SU-2021:0406-1

See a problem?
Import Source
https://ftp.suse.com/pub/projects/security/osv/openSUSE-SU-2021:0406-1.json
JSON Data
https://api.osv.dev/v1/vulns/openSUSE-SU-2021:0406-1
Related
Published
2021-03-14T14:09:20Z
Modified
2021-03-14T14:09:20Z
Summary
Security update for glib2
Details

This update for glib2 fixes the following issues:

  • CVE-2021-27218: gbytearraynewtake takes a gsize as length but stores in a guint, this patch will refuse if the length is larger than guint. (bsc#1182328)
  • CVE-2021-27219: gmemdup takes a guint as parameter and sometimes leads into an integer overflow, so add a gmemdup2 function which uses gsize to replace it. (bsc#1182362)

This update was imported from the SUSE:SLE-15-SP2:Update update project.

References

Affected packages

openSUSE:Leap 15.2 / glib2

Package

Name
glib2
Purl
purl:rpm/suse/glib2&distro=openSUSE%20Leap%2015.2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.62.6-lp152.2.6.1

Ecosystem specific

{
    "binaries": [
        {
            "libglib-2_0-0": "2.62.6-lp152.2.6.1",
            "libgobject-2_0-0-32bit": "2.62.6-lp152.2.6.1",
            "glib2-devel-32bit": "2.62.6-lp152.2.6.1",
            "libgio-fam-32bit": "2.62.6-lp152.2.6.1",
            "glib2-devel": "2.62.6-lp152.2.6.1",
            "libgobject-2_0-0": "2.62.6-lp152.2.6.1",
            "gio-branding-upstream": "2.62.6-lp152.2.6.1",
            "libgmodule-2_0-0": "2.62.6-lp152.2.6.1",
            "libgio-fam": "2.62.6-lp152.2.6.1",
            "glib2-lang": "2.62.6-lp152.2.6.1",
            "glib2-tests": "2.62.6-lp152.2.6.1",
            "libgthread-2_0-0-32bit": "2.62.6-lp152.2.6.1",
            "glib2-tools": "2.62.6-lp152.2.6.1",
            "libgthread-2_0-0": "2.62.6-lp152.2.6.1",
            "libglib-2_0-0-32bit": "2.62.6-lp152.2.6.1",
            "glib2-tools-32bit": "2.62.6-lp152.2.6.1",
            "libgio-2_0-0": "2.62.6-lp152.2.6.1",
            "glib2-devel-static": "2.62.6-lp152.2.6.1",
            "libgmodule-2_0-0-32bit": "2.62.6-lp152.2.6.1",
            "libgio-2_0-0-32bit": "2.62.6-lp152.2.6.1"
        }
    ]
}