UBUNTU-CVE-2019-12761

Source
https://ubuntu.com/security/CVE-2019-12761
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-12761.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2019-12761
Related
Published
2019-06-06T19:29:00Z
Modified
2019-06-06T19:29:00Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A code injection issue was discovered in PyXDG before 0.26 via crafted Python code in a Category element of a Menu XML document in a .menu file. XDGCONFIGDIRS must be set up to trigger xdg.Menu.parse parsing within the directory containing this file. This is due to a lack of sanitization in xdg/Menu.py before an eval call.

References

Affected packages

Ubuntu:Pro:14.04:LTS / pyxdg

Package

Name
pyxdg
Purl
pkg:deb/ubuntu/pyxdg?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.25-4ubuntu0.14.04.1~esm1

Affected versions

0.*

0.25-3
0.25-4

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "0.25-4ubuntu0.14.04.1~esm1",
            "binary_name": "python-xdg"
        },
        {
            "binary_version": "0.25-4ubuntu0.14.04.1~esm1",
            "binary_name": "python3-xdg"
        }
    ]
}

Ubuntu:16.04:LTS / pyxdg

Package

Name
pyxdg
Purl
pkg:deb/ubuntu/pyxdg?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.25-4ubuntu0.16.04.1

Affected versions

0.*

0.25-4

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "0.25-4ubuntu0.16.04.1",
            "binary_name": "python-xdg"
        },
        {
            "binary_version": "0.25-4ubuntu0.16.04.1",
            "binary_name": "python3-xdg"
        }
    ]
}

Ubuntu:18.04:LTS / pyxdg

Package

Name
pyxdg
Purl
pkg:deb/ubuntu/pyxdg?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.25-4ubuntu1.1

Affected versions

0.*

0.25-4
0.25-4ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "0.25-4ubuntu1.1",
            "binary_name": "python-xdg"
        },
        {
            "binary_version": "0.25-4ubuntu1.1",
            "binary_name": "python3-xdg"
        }
    ]
}