SUSE-SU-2021:0778-1

See a problem?
Import Source
https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2021:0778-1.json
JSON Data
https://api.osv.dev/v1/vulns/SUSE-SU-2021:0778-1
Related
Published
2021-03-12T16:42:35Z
Modified
2021-03-12T16:42:35Z
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)
References

Affected packages

SUSE:Linux Enterprise Module for Basesystem 15 SP2 / glib2

Package

Name
glib2
Purl
purl:rpm/suse/glib2&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2

Affected ranges

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

Ecosystem specific

{
    "binaries": [
        {
            "libglib-2_0-0": "2.62.6-3.6.1",
            "glib2-tools": "2.62.6-3.6.1",
            "libgobject-2_0-0-32bit": "2.62.6-3.6.1",
            "libgthread-2_0-0": "2.62.6-3.6.1",
            "glib2-devel": "2.62.6-3.6.1",
            "libgobject-2_0-0": "2.62.6-3.6.1",
            "libgmodule-2_0-0": "2.62.6-3.6.1",
            "libglib-2_0-0-32bit": "2.62.6-3.6.1",
            "glib2-lang": "2.62.6-3.6.1",
            "libgio-2_0-0": "2.62.6-3.6.1",
            "libgmodule-2_0-0-32bit": "2.62.6-3.6.1",
            "libgio-2_0-0-32bit": "2.62.6-3.6.1"
        }
    ]
}

SUSE:Linux Enterprise Micro 5.0 / glib2

Package

Name
glib2
Purl
purl:rpm/suse/glib2&distro=SUSE%20Linux%20Enterprise%20Micro%205.0

Affected ranges

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

Ecosystem specific

{
    "binaries": [
        {
            "libglib-2_0-0": "2.62.6-3.6.1",
            "glib2-tools": "2.62.6-3.6.1",
            "libgio-2_0-0": "2.62.6-3.6.1",
            "libgmodule-2_0-0": "2.62.6-3.6.1",
            "libgobject-2_0-0": "2.62.6-3.6.1"
        }
    ]
}