Improper Preservation of Permissions Affecting libcurl package, versions <0:7.79.1-6.amzn2.0.1
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-AMZN2-LIBCURL-3110082
- published 9 Nov 2022
- disclosed 7 Jul 2022
Introduced: 7 Jul 2022
CVE-2022-32207 Open this link in a new tabHow to fix?
Upgrade Amazon-Linux:2
libcurl
to version 0:7.79.1-6.amzn2.0.1 or higher.
This issue was patched in ALAS2-2022-1875
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream libcurl
package and not the libcurl
package as distributed by Amazon-Linux
.
See How to fix?
for Amazon-Linux:2
relevant fixed versions and status.
When curl < 7.84.0 saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the operation with a rename from a temporary name to the final target file name.In that rename operation, it might accidentally widen the permissions for the target file, leaving the updated file accessible to more users than intended.
References
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32207
- https://hackerone.com/reports/1573634
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BEV6BR4MTI3CEWK2YU2HQZUW5FAS3FEY/
- https://www.debian.org/security/2022/dsa-5197
- https://security.netapp.com/advisory/ntap-20220915-0003/
- https://support.apple.com/kb/HT213488
- http://seclists.org/fulldisclosure/2022/Oct/41
- http://seclists.org/fulldisclosure/2022/Oct/28
- https://security.gentoo.org/glsa/202212-01
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEV6BR4MTI3CEWK2YU2HQZUW5FAS3FEY/