Debian Codegraph @

workspaces/arborist/test/fixtures/audit-dep-vuln-with-own-advisory/audit.json

raw
1 {
2 "actions": [
3 {
4 "isMajor": true,
5 "action": "install",
6 "resolves": [
7 {
8 "id": 1179,
9 "path": "mkdirp>minimist",
10 "dev": false,
11 "optional": false,
12 "bundled": false
13 }
14 ],
15 "module": "mkdirp",
16 "target": "1.0.4"
17 }
18 ],
19 "advisories": {
20 "1179": {
21 "findings": [
22 {
23 "version": "0.0.8",
24 "paths": [
25 "mkdirp>minimist"
26 ]
27 }
28 ],
29 "id": 1179,
30 "created": "2019-09-23T15:01:43.049Z",
31 "updated": "2020-03-18T19:41:45.921Z",
32 "deleted": null,
33 "title": "Prototype Pollution",
34 "found_by": {
35 "link": "https://www.checkmarx.com/resources/blog/",
36 "name": "Checkmarx Research Team",
37 "email": ""
38 },
39 "reported_by": {
40 "link": "https://www.checkmarx.com/resources/blog/",
41 "name": "Checkmarx Research Team",
42 "email": ""
43 },
44 "module_name": "minimist",
45 "cves": [],
46 "vulnerable_versions": "<0.2.1 || >=1.0.0 <1.2.3",
47 "patched_versions": ">=0.2.1 <1.0.0 || >=1.2.3",
48 "overview": "Affected versions of `minimist` are vulnerable to prototype pollution. Arguments are not properly sanitized, allowing an attacker to modify the prototype of `Object`, causing the addition or modification of an existing property that will exist on all objects. \nParsing the argument `--__proto__.y=Polluted` adds a `y` property with value `Polluted` to all objects. The argument `--__proto__=Polluted` raises and uncaught error and crashes the application. \nThis is exploitable if attackers have control over the arguments being passed to `minimist`.\n",
49 "recommendation": "Upgrade to versions 0.2.1, 1.2.3 or later.",
50 "references": "- [GitHub commit 1](https://github.com/substack/minimist/commit/4cf1354839cb972e38496d35e12f806eea92c11f#diff-a1e0ee62c91705696ddb71aa30ad4f95)\n- [GitHub commit 2](https://github.com/substack/minimist/commit/63e7ed05aa4b1889ec2f3b196426db4500cbda94)",
51 "access": "public",
52 "severity": "low",
53 "cwe": "CWE-471",
54 "metadata": {
55 "module_type": "",
56 "exploitability": 1,
57 "affected_components": ""
58 },
59 "url": "https://npmjs.com/advisories/1179"
60 },
61 "42069": {
62 "findings": [
63 {
64 "version": "0.5.1",
65 "paths": [
66 "mkdirp"
67 ]
68 }
69 ],
70 "id": 42069,
71 "created": "2020-04-20T16:20:00.069Z",
72 "updated": "2020-04-20T23:20:00.069Z",
73 "deleted": null,
74 "title": "File System Pollution",
75 "found_by": {
76 "link": "https://www.antidirectory.com/",
77 "name": "Anti-Directory Research Team",
78 "email": "[email protected]"
79 },
80 "reported_by": {
81 "link": "https://www.antidirectory.com/",
82 "name": "Anti-Directory Research Team",
83 "email": "[email protected]"
84 },
85 "module_name": "mkdirp",
86 "cves": [],
87 "vulnerable_versions": "<0.5.5",
88 "patched_versions": ">=0.5.5",
89 "overview": "Affected versions of `mkdirp` are vulnerable to file system pollution. Arguments are used to create directories, allowing an attacker to modify the file system, causing the addition or modification of directories which will persist after the process has exited. \nPassing the argument `/foo/bar/baz` adds a `baz` directory within the `/foo/bar` directory path. The presence of this directory raises uncaught errors and crashe applications that expect a directory to not be at that path. \nThis is exploitable if attackers pass arguments to `mkdirp`.\n",
90 "recommendation": "Do not create directories",
91 "references": "- [GitHub commit where problem was added](https://github.com/substack/node-mkdirp/commit/284bc24eaafca75786c7e86f1da66ad61adacdb7)",
92 "access": "public",
93 "severity": "high",
94 "cwe": "CWE-42069",
95 "metadata": {
96 "module_type": "",
97 "exploitability": 1,
98 "affected_components": ""
99 },
100 "url": "https://npmjs.com/advisories/42069"
101 }
102 },
103 "muted": [],
104 "metadata": {
105 "vulnerabilities": {
106 "info": 0,
107 "low": 1,
108 "moderate": 0,
109 "high": 0,
110 "critical": 0
111 },
112 "dependencies": 2,
113 "devDependencies": 0,
114 "optionalDependencies": 0,
115 "totalDependencies": 2
116 },
117 "runId": "97ea25de-b5f3-46a3-9e68-80b32e9d5d64"
118 }