{ "document": { "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "description", "text": "Race condition in the rmtree and remove_tree functions allows attackers to set the mode on arbitrary files via vectors involving directory-permission loosening logic.", "title": "Vulnerability Description" } ], "publisher": { "category": "other", "contact_details": "gdt@cpan.org", "name": "giterlizzi", "namespace": "https://github.com/giterlizzi/" }, "references": [ { "category": "self", "summary": "CPANSA-File-Path-2017-01 JSON", "url": "https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2017/cpansa-file-path-2017-01.json" }, { "category": "external", "summary": "https://metacpan.org/changes/distribution/File-Path", "url": "https://metacpan.org/changes/distribution/File-Path" }, { "category": "external", "summary": "https://github.com/jkeenan/File-Path/commit/e5ef95276ee8ad471c66ee574a5d42552b3a6af2", "url": "https://github.com/jkeenan/File-Path/commit/e5ef95276ee8ad471c66ee574a5d42552b3a6af2" }, { "category": "external", "summary": "CVE-2017-6512 (NVD)", "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-6512" } ], "title": "File-Path vulnerability", "tracking": { "current_release_date": "2017-05-02T00:00:00", "generator": { "engine": { "name": "CSAF Perl Toolkit", "version": "0.26" } }, "id": "CPANSA-File-Path-2017-01", "initial_release_date": "2017-05-02T00:00:00", "revision_history": [ { "date": "2017-05-02T00:00:00", "number": "1", "summary": "First release" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "category": "product_version_range", "name": "vers:cpan/<2.13", "product": { "name": "File-Path less than 2.13", "product_id": "CSAFPID-0001" } }, { "category": "product_version_range", "name": "vers:cpan/>=2.13", "product": { "name": "File-Path greater than or equal 2.13", "product_id": "CSAFPID-0002" } } ], "category": "product_name", "name": "File-Path" } ] }, "vulnerabilities": [ { "cve": "CVE-2017-6512", "cwe": { "id": "CWE-362", "name": "Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')" }, "notes": [ { "category": "description", "text": "Race condition in the rmtree and remove_tree functions in the File-Path module before 2.13 for Perl allows attackers to set the mode on arbitrary files via vectors involving directory-permission loosening logic.", "title": "Vulnerability Description" } ], "product_status": { "fixed": [ "CSAFPID-0002" ], "known_affected": [ "CSAFPID-0001" ] }, "scores": [ { "cvss_v2": { "baseScore": 4.3, "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "version": "2.0" }, "cvss_v3": { "baseScore": 5.9, "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N", "version": "3.1" }, "products": [ "CSAFPID-0001" ] } ] } ] }