CVE-2022-42717

Published on: Not Yet Published

Last Modified on: 10/18/2022 06:00:00 PM UTC

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Certain versions of Packer from Hashicorp contain the following vulnerability:

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.

  • CVE-2022-42717 has been assigned by URL Logo [email protected] to track the vulnerability - currently rated as HIGH severity.

CVSS3 Score: 7.8 - HIGH

Attack
Vector
Attack
Complexity
Privileges
Required
User
Interaction
LOCAL LOW LOW NONE
Scope Confidentiality
Impact
Integrity
Impact
Availability
Impact
UNCHANGED HIGH HIGH HIGH

CVE References

Description Tags Link
NFS - Synced Folders | Vagrant by HashiCorp www.vagrantup.com
text/html
URL Logo MISC www.vagrantup.com/docs/synced-folders/nfs
HCSEC-2022-23: Vagrant NFS sudoers configuration allows for local privilege escalation - Security - HashiCorp Discuss discuss.hashicorp.com
text/html
URL Logo MISC discuss.hashicorp.com/t/hcsec-2022-23-vagrant-nfs-sudoers-configuration-allows-for-local-privilege-escalation/45423
Update NFS exports usage by chrisroberts · Pull Request #12910 · hashicorp/vagrant · GitHub github.com
text/html
URL Logo MISC github.com/hashicorp/vagrant/pull/12910

Related QID Numbers

  • 904219 Common Base Linux Mariner (CBL-Mariner) Security Update for packer (11115)

Known Affected Configurations (CPE V2.3)

Type Vendor Product Version Update Edition Language
ApplicationHashicorpPackerAllAllAllAll
ApplicationHashicorpVagrantAllAllAllAll
Operating
System
LinuxLinux Kernel-AllAllAll
  • cpe:2.3:a:hashicorp:packer:*:*:*:*:*:*:*:*:
  • cpe:2.3:a:hashicorp:vagrant:*:*:*:*:*:*:*:*:
  • cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*:

Social Mentions

Source Title Posted (UTC)
Twitter Icon @CVEreport CVE-2022-42717 : An issue was discovered in Hashicorp Packer before 2.3.1. The recommended sudoers configuration fo… twitter.com/i/web/status/1… 2022-10-11 23:08:02
Twitter Icon @Robo_Alerts Potentially Critical CVE Detected! CVE-2022-42717 An issue was discovered in Hashicorp Packer before 2.3.1. The rec… twitter.com/i/web/status/1… 2022-10-11 23:56:00
Reddit Logo Icon /r/netcve CVE-2022-42717 2022-10-12 00:39:20
© CVE.report 2023 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report