CVE-2015-4082: Attic Attic Has Improper Verification Of Vulnerability

HIGH
Advisory Identifier: GHSA-5x6q-ffwj-8vcf
CVSS 6.5
Published
Advisory Summary

CVE-2015-4082 is a HIGH (CVSS 6.5) attic has improper verification of vulnerability (General Security Weakness) affecting Attic libraries in the PyPI ecosystem. The issue involves attic has improper verification of unencrypted backups. Remediation is available by upgrading affected packages to version 0.15.

CVE-2015-4082 at a Glance

CVE Identifier CVE-2015-4082
GHSA Identifier GHSA-5x6q-ffwj-8vcf
Severity HIGH
CVSS v3.1 Base Score 6.5
CWE Classification General Security Weakness
Affected Product Attic
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2015-4082

To remediate this vulnerability, upgrade all affected Attic dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

attic fixed: 0.15
pip install attic>=0.15
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show attic

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2015-4082, inspect your installed packages using pip:

pip show attic

Analyze the terminal output to locate any version of Attic in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.15), your application is affected.

Note: The pip show attic command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Attic, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

attic before 0.15 does not confirm unencrypted backups with the user, which allows remote attackers with read and write privileges for the encrypted repository to obtain potentially sensitive information by changing the manifest type byte of the repository to "unencrypted / without key file".

CVE-2015-4082 Affected Attic Versions

1 component(s)
Fixed Versions:
0.15
Product / Package Ecosystem Affected Versions Fixed Version
attic
PyPI
< 0.15
0.15

References

Frequently Asked Questions

What is CVE-2015-4082?
CVE-2015-4082 is a security vulnerability in Attic involving attic has improper verification of unencrypted backups under General Security Weakness.
Which Attic versions are affected?
Affected versions include releases prior to 0.15 across affected packages: attic.
What version fixes CVE-2015-4082?
Upgrading to 0.15 (or the latest patched release for your respective branch) resolves the vulnerability.
Is attic affected?
Yes, attic is affected in releases prior to 0.15. Upgrade your dependency to 0.15 or later.
What is the CVSS score of CVE-2015-4082?
CVE-2015-4082 has a CVSS v3.1 base score of 6.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2015-4082?
CVE-2015-4082 is classified under General Security Weakness.
How can I check PyPI dependencies for CVE-2015-4082?
Run the dependency tree command: 'pip show attic'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-5x6q-ffwj-8vcf",
  "modified" : "2024-11-18T16:26:22Z",
  "published" : "2022-05-17T01:57:32Z",
  "aliases" : [ "CVE-2015-4082" ],
  "summary" : "attic has improper verification of unencrypted backups",
  "details" : "attic before 0.15 does not confirm unencrypted backups with the user, which allows remote attackers with read and write privileges for the encrypted repository to obtain potentially sensitive information by changing the manifest type byte of the repository to \"unencrypted / without key file\".",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "attic"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.15"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-4082"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jborg/attic/issues/271"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jborg/attic/commit/78f9ad1faba7193ca7f0acccbc13b1ff6ebf9072"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jborg/attic"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/attic/PYSEC-2017-6.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200517225455/http://www.securityfocus.com/bid/74821"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2015/05/31/3"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/74821"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-01T10:59:36Z",
    "nvd_published_at" : "2017-08-18T16:29:00Z"
  }
}