CVE-2024-9486: Packer Proxmox Builder User Not Locked

Packer Proxmox builder template defines an SSH builder user via ssh_username/ssh_password but no provisioner locks the account (e.g. `usermod -L {{user `ssh_username`}}`) before image capture. VM images produced from this template will ship with the default builder credentials enabled, allowing any attacker reachable on TCP/22 to SSH in and escalate to root

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0Generic
greprules fetch cve-2024-9486-packer-proxmox-builder-user-not-locked --engine opengrep

Description

Packer Proxmox builder template defines an SSH builder user via ssh_username/ssh_password but no provisioner locks the account (e.g. `usermod -L {{user `ssh_username`}}`) before image capture. VM images produced from this template will ship with the default builder credentials enabled, allowing any attacker reachable on TCP/22 to SSH in and escalate to root