UBUNTU-CVE-2022-33127

Source
https://ubuntu.com/security/CVE-2022-33127
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-33127.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2022-33127
Related
Published
2022-06-23T17:15:00Z
Modified
2024-10-15T14:10:01Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The function that calls the diff tool in Diffy 3.4.1 does not properly handle double quotes in a filename when run in a windows environment. This allows attackers to execute arbitrary commands via a crafted string.

References

Affected packages

Ubuntu:Pro:16.04:LTS / ruby-diffy

Package

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

Affected ranges

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

Affected versions

3.*

3.0.6-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / ruby-diffy

Package

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

Affected ranges

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

Affected versions

3.*

3.1.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / ruby-diffy

Package

Name
ruby-diffy
Purl
pkg:deb/ubuntu/ruby-diffy?arch=src?distro=focal

Affected ranges

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

Affected versions

3.*

3.2.1-1
3.3.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / ruby-diffy

Package

Name
ruby-diffy
Purl
pkg:deb/ubuntu/ruby-diffy?arch=src?distro=jammy

Affected ranges

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

Affected versions

3.*

3.3.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / ruby-diffy

Package

Name
ruby-diffy
Purl
pkg:deb/ubuntu/ruby-diffy?arch=src?distro=oracular

Affected ranges

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

Affected versions

3.*

3.4.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / ruby-diffy

Package

Name
ruby-diffy
Purl
pkg:deb/ubuntu/ruby-diffy?arch=src?distro=noble

Affected ranges

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

Affected versions

3.*

3.4.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}