CVE-2017-2295
Versions of Puppet prior to 4.10.1 will deserialize data off the wire (from the agent to the server, in this case) with a attacker-specified format. This could be used to force YAML deserialization in an unsafe manner, which would lead to remote code execution. This change constrains the format of data on the wire to PSON or safely decoded YAML.
What to do
Fixed builds are available from Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | puppet | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | puppet | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | puppet | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | puppet | Fix pending | 3.8.5-2ubuntu0.1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2017-2295 |
| Ubuntu 14.04 | puppet | Fixed | 3.4.3-1ubuntu1.2 | UBUNTU-CVE-2017-2295 |
What the vendor says
As published in the CVE record by puppet, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Puppet server: affected: Puppet prior to 4.10.1
Vendor advisories:
- http://www.debian.org/security/2017/dsa-3862 (vendor-advisory)
References
- https://puppet.com/security/cve/cve-2017-2295
- http://www.debian.org/security/2017/dsa-3862
- http://www.securityfocus.com/bid/98582
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.