UBUNTU-CVE-2022-48339

Source
https://ubuntu.com/security/CVE-2022-48339
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48339.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-48339
Related
Published
2023-02-20T23:15:00Z
Modified
2024-10-15T14:10:20Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

An issue was discovered in GNU Emacs through 28.2. htmlfontify.el has a command injection vulnerability. In the hfy-istext-command function, the parameter file and parameter srcdir come from external input, and parameters are not escaped. If a file name or directory name contains shell metacharacters, code may be executed.

References

Affected packages

Ubuntu:Pro:16.04:LTS / emacs24

Package

Name
emacs24
Purl
pkg:deb/ubuntu/emacs24?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
24.5+1-6ubuntu1.1+esm2

Affected versions

24.*

24.5+1-1ubuntu2
24.5+1-1ubuntu4
24.5+1-1ubuntu5
24.5+1-1ubuntu6
24.5+1-1ubuntu7
24.5+1-6ubuntu1
24.5+1-6ubuntu1.1
24.5+1-6ubuntu1.1+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "24.5+1-6ubuntu1.1+esm2",
            "binary_name": "emacs24"
        },
        {
            "binary_version": "24.5+1-6ubuntu1.1+esm2",
            "binary_name": "emacs24-bin-common"
        },
        {
            "binary_version": "24.5+1-6ubuntu1.1+esm2",
            "binary_name": "emacs24-bin-common-dbgsym"
        },
        {
            "binary_version": "24.5+1-6ubuntu1.1+esm2",
            "binary_name": "emacs24-common"
        },
        {
            "binary_version": "24.5+1-6ubuntu1.1+esm2",
            "binary_name": "emacs24-dbg"
        },
        {
            "binary_version": "24.5+1-6ubuntu1.1+esm2",
            "binary_name": "emacs24-dbgsym"
        },
        {
            "binary_version": "24.5+1-6ubuntu1.1+esm2",
            "binary_name": "emacs24-el"
        },
        {
            "binary_version": "24.5+1-6ubuntu1.1+esm2",
            "binary_name": "emacs24-lucid"
        },
        {
            "binary_version": "24.5+1-6ubuntu1.1+esm2",
            "binary_name": "emacs24-lucid-dbg"
        },
        {
            "binary_version": "24.5+1-6ubuntu1.1+esm2",
            "binary_name": "emacs24-lucid-dbgsym"
        },
        {
            "binary_version": "24.5+1-6ubuntu1.1+esm2",
            "binary_name": "emacs24-nox"
        },
        {
            "binary_version": "24.5+1-6ubuntu1.1+esm2",
            "binary_name": "emacs24-nox-dbg"
        },
        {
            "binary_version": "24.5+1-6ubuntu1.1+esm2",
            "binary_name": "emacs24-nox-dbgsym"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / xemacs21

Package

Name
xemacs21
Purl
pkg:deb/ubuntu/xemacs21?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

21.*

21.4.22-4ubuntu3
21.4.22-14ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:16.04:LTS / xemacs21-packages

Package

Name
xemacs21-packages
Purl
pkg:deb/ubuntu/xemacs21-packages?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2009.*

2009.02.17.dfsg.2-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / emacs25

Package

Name
emacs25
Purl
pkg:deb/ubuntu/emacs25?arch=src?distro=esm-infra/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
25.2+1-6ubuntu0.1~esm2

Affected versions

25.*

25.2+1-6

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "25.2+1-6ubuntu0.1~esm2",
            "binary_name": "emacs25"
        },
        {
            "binary_version": "25.2+1-6ubuntu0.1~esm2",
            "binary_name": "emacs25-bin-common"
        },
        {
            "binary_version": "25.2+1-6ubuntu0.1~esm2",
            "binary_name": "emacs25-bin-common-dbgsym"
        },
        {
            "binary_version": "25.2+1-6ubuntu0.1~esm2",
            "binary_name": "emacs25-common"
        },
        {
            "binary_version": "25.2+1-6ubuntu0.1~esm2",
            "binary_name": "emacs25-dbg"
        },
        {
            "binary_version": "25.2+1-6ubuntu0.1~esm2",
            "binary_name": "emacs25-el"
        },
        {
            "binary_version": "25.2+1-6ubuntu0.1~esm2",
            "binary_name": "emacs25-lucid"
        },
        {
            "binary_version": "25.2+1-6ubuntu0.1~esm2",
            "binary_name": "emacs25-lucid-dbg"
        },
        {
            "binary_version": "25.2+1-6ubuntu0.1~esm2",
            "binary_name": "emacs25-nox"
        },
        {
            "binary_version": "25.2+1-6ubuntu0.1~esm2",
            "binary_name": "emacs25-nox-dbg"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / xemacs21

Package

Name
xemacs21
Purl
pkg:deb/ubuntu/xemacs21?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

21.*

21.4.24-4ubuntu1
21.4.24-5ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / xemacs21-packages

Package

Name
xemacs21-packages
Purl
pkg:deb/ubuntu/xemacs21-packages?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2009.*

2009.02.17.dfsg.2-4

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / emacs

Package

Name
emacs
Purl
pkg:deb/ubuntu/emacs?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:26.*

1:26.3+1-1ubuntu1
1:26.3+1-1ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / xemacs21

Package

Name
xemacs21
Purl
pkg:deb/ubuntu/xemacs21?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

21.*

21.4.24-8build1
21.4.24-9

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / xemacs21-packages

Package

Name
xemacs21-packages
Purl
pkg:deb/ubuntu/xemacs21-packages?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2009.*

2009.02.17.dfsg.2-4
2009.02.17.dfsg.2-5

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:20.04:LTS / emacs

Package

Name
emacs
Purl
pkg:deb/ubuntu/emacs?arch=src?distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:26.3+1-1ubuntu2+esm1

Affected versions

1:26.*

1:26.3+1-1ubuntu1
1:26.3+1-1ubuntu2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:26.3+1-1ubuntu2+esm1",
            "binary_name": "emacs"
        },
        {
            "binary_version": "1:26.3+1-1ubuntu2+esm1",
            "binary_name": "emacs-bin-common"
        },
        {
            "binary_version": "1:26.3+1-1ubuntu2+esm1",
            "binary_name": "emacs-bin-common-dbgsym"
        },
        {
            "binary_version": "1:26.3+1-1ubuntu2+esm1",
            "binary_name": "emacs-common"
        },
        {
            "binary_version": "1:26.3+1-1ubuntu2+esm1",
            "binary_name": "emacs-el"
        },
        {
            "binary_version": "1:26.3+1-1ubuntu2+esm1",
            "binary_name": "emacs-gtk"
        },
        {
            "binary_version": "1:26.3+1-1ubuntu2+esm1",
            "binary_name": "emacs-gtk-dbgsym"
        },
        {
            "binary_version": "1:26.3+1-1ubuntu2+esm1",
            "binary_name": "emacs-lucid"
        },
        {
            "binary_version": "1:26.3+1-1ubuntu2+esm1",
            "binary_name": "emacs-lucid-dbgsym"
        },
        {
            "binary_version": "1:26.3+1-1ubuntu2+esm1",
            "binary_name": "emacs-nox"
        },
        {
            "binary_version": "1:26.3+1-1ubuntu2+esm1",
            "binary_name": "emacs-nox-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / emacs

Package

Name
emacs
Purl
pkg:deb/ubuntu/emacs?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:27.1+1-3ubuntu5.2

Affected versions

1:27.*

1:27.1+1-3ubuntu3
1:27.1+1-3ubuntu5
1:27.1+1-3ubuntu5.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:27.1+1-3ubuntu5.2",
            "binary_name": "emacs"
        },
        {
            "binary_version": "1:27.1+1-3ubuntu5.2",
            "binary_name": "emacs-bin-common"
        },
        {
            "binary_version": "1:27.1+1-3ubuntu5.2",
            "binary_name": "emacs-bin-common-dbgsym"
        },
        {
            "binary_version": "1:27.1+1-3ubuntu5.2",
            "binary_name": "emacs-common"
        },
        {
            "binary_version": "1:27.1+1-3ubuntu5.2",
            "binary_name": "emacs-el"
        },
        {
            "binary_version": "1:27.1+1-3ubuntu5.2",
            "binary_name": "emacs-gtk"
        },
        {
            "binary_version": "1:27.1+1-3ubuntu5.2",
            "binary_name": "emacs-gtk-dbgsym"
        },
        {
            "binary_version": "1:27.1+1-3ubuntu5.2",
            "binary_name": "emacs-lucid"
        },
        {
            "binary_version": "1:27.1+1-3ubuntu5.2",
            "binary_name": "emacs-lucid-dbgsym"
        },
        {
            "binary_version": "1:27.1+1-3ubuntu5.2",
            "binary_name": "emacs-nox"
        },
        {
            "binary_version": "1:27.1+1-3ubuntu5.2",
            "binary_name": "emacs-nox-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / xemacs21

Package

Name
xemacs21
Purl
pkg:deb/ubuntu/xemacs21?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

21.*

21.4.24-9ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / xemacs21-packages

Package

Name
xemacs21-packages
Purl
pkg:deb/ubuntu/xemacs21-packages?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2009.*

2009.02.17.dfsg.2-5

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / xemacs21

Package

Name
xemacs21
Purl
pkg:deb/ubuntu/xemacs21?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

21.*

21.4.24-12build3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / xemacs21-packages

Package

Name
xemacs21-packages
Purl
pkg:deb/ubuntu/xemacs21-packages?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2009.*

2009.02.17.dfsg.3-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / xemacs21

Package

Name
xemacs21
Purl
pkg:deb/ubuntu/xemacs21?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

21.*

21.4.24-12
21.4.24-12build2
21.4.24-12build3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / xemacs21-packages

Package

Name
xemacs21-packages
Purl
pkg:deb/ubuntu/xemacs21-packages?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2009.*

2009.02.17.dfsg.3-2
2009.02.17.dfsg.3-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}