UBUNTU-CVE-2022-42717

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

An issue was discovered in Hashicorp Packer before 2.3.1. The recommended sudoers configuration for Vagrant on Linux is insecure. If the host has been configured according to this documentation, non-privileged users on the host can leverage a wildcard in the sudoers configuration to execute arbitrary commands as root.

References

Affected packages

Ubuntu:Pro:16.04:LTS / vagrant

Package

Name
vagrant
Purl
pkg:deb/ubuntu/vagrant@1.8.1+dfsg-1ubuntu0.2?arch=source&distro=esm-apps/xenial

Affected ranges

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

Affected versions

1.*

1.7.4+dfsg-1
1.8.1+dfsg-1
1.8.1+dfsg-1ubuntu0.1
1.8.1+dfsg-1ubuntu0.2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / vagrant

Package

Name
vagrant
Purl
pkg:deb/ubuntu/vagrant@2.0.2+dfsg-2ubuntu8?arch=source&distro=esm-apps/bionic

Affected ranges

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

Affected versions

1.*

1.9.1+dfsg-1

2.*

2.0.2+dfsg-2ubuntu2
2.0.2+dfsg-2ubuntu8

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:20.04:LTS / vagrant

Package

Name
vagrant
Purl
pkg:deb/ubuntu/vagrant@2.2.6+dfsg-2ubuntu3?arch=source&distro=esm-apps/focal

Affected ranges

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

Affected versions

2.*

2.2.3+dfsg-1ubuntu2
2.2.6+dfsg-2ubuntu1
2.2.6+dfsg-2ubuntu3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / vagrant

Package

Name
vagrant
Purl
pkg:deb/ubuntu/vagrant@2.2.19+dfsg-1ubuntu1?arch=source&distro=jammy

Affected ranges

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

Affected versions

2.*

2.2.14+dfsg-1ubuntu1
2.2.19+dfsg-1ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}