UBUNTU-CVE-2022-48338

Source
https://ubuntu.com/security/CVE-2022-48338
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48338.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-48338
Related
Published
2023-02-20T23:15:00Z
Modified
2024-10-15T14:10:20Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/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. In ruby-mode.el, the ruby-find-library-file function has a local command injection vulnerability. The ruby-find-library-file function is an interactive function, and bound to C-c C-f. Inside the function, the external command gem is called through shell-command-to-string, but the feature-name parameters are not escaped. Thus, malicious Ruby source files may cause commands to be executed.

References

Affected packages

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 / 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 / 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: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"
}