CVE-2012-0787 Affecting augeas-libs package, versions <0:1.0.0-5.5.amzn1


Severity

Recommended
low

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (21st percentile)

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 IDSNYK-AMZN201803-AUGEASLIBS-1671022
  • published27 Sept 2021
  • disclosed23 Nov 2013

Introduced: 23 Nov 2013

CVE-2012-0787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 augeas-libs to version 0:1.0.0-5.5.amzn1 or higher.
This issue was patched in ALAS-2013-250.

NVD Description

Note: Versions mentioned in the description apply only to the upstream augeas-libs package and not the augeas-libs package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

The clone_file function in transfer.c in Augeas before 1.0.0, when copy_if_rename_fails is set and EXDEV or EBUSY is returned by the rename function, allows local users to overwrite arbitrary files and obtain sensitive information via a bind mount on the (1) .augsave or (2) destination file when using the backup save option, or (3) .augnew file when using the newfile save option.

CVSS Base Scores

version 3.1