{"id":"CVE-2020-7616","state":"PUBLISHED","title":"express-mock-middleware through 0.0.6 is vulnerable to Prototype Pollution. Exported functions by the package can be tricked into adding or modifying properties of the `Object.prot","description":"express-mock-middleware through 0.0.6 is vulnerable to Prototype Pollution. Exported functions by the package can be tricked into adding or modifying properties of the `Object.prototype`. Exploitation of this vulnerability requires creation of a new directory where an attack code can be placed which will then be exported by `express-mock-middleware`. As such, this is considered to be a low risk.","publishedAt":"2020-04-07T13:16:20.000Z","updatedAt":"2024-08-04T09:33:19.989Z","severity":null,"assigner":"snyk","products":["n/a express-mock-middleware"],"affected":[{"vendor":"n/a","product":"express-mock-middleware","versions":[{"version":"All versions including 0.0.6","status":"affected"}]}],"references":["https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120","https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39"],"weaknesses":[],"ingestedAt":"2026-10-29T19:47:41.446Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/7xxx/CVE-2020-7616.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-7616","state":"PUBLISHED","datePublished":"2020-04-07T13:16:20.000Z","dateUpdated":"2024-08-04T09:33:19.989Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2020-01-21T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"express-mock-middleware through 0.0.6 is vulnerable to Prototype Pollution. Exported functions by the package can be tricked into adding or modifying properties of the `Object.prototype`. Exploitation of this vulnerability requires creation of a new directory where an attack code can be placed which will then be exported by `express-mock-middleware`. As such, this is considered to be a low risk."}],"affected":[{"vendor":"n/a","product":"express-mock-middleware","versions":[{"version":"All versions including 0.0.6","status":"affected"}]}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120","tags":["x_refsource_MISC"]},{"url":"https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"Prototype Pollution","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"snyk","dateUpdated":"2020-04-07T13:16:20.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730"},"datePublic":"2020-04-01T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"report@snyk.io","ID":"CVE-2020-7616","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"express-mock-middleware","version":{"version_data":[{"version_value":"All versions including 0.0.6"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"express-mock-middleware through 0.0.6 is vulnerable to Prototype Pollution. Exported functions by the package can be tricked into adding or modifying properties of the `Object.prototype`. Exploitation of this vulnerability requires creation of a new directory where an attack code can be placed which will then be exported by `express-mock-middleware`. As such, this is considered to be a low risk."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Prototype Pollution"}]}]},"references":{"reference_data":[{"name":"https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120"},{"name":"https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39","refsource":"MISC","url":"https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://snyk.io/vuln/SNYK-JS-EXPRESSMOCKMIDDLEWARE-564120","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/LingyuCoder/express-mock-middleware/blob/master/lib/index.js#L39","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T09:33:19.989Z"}}]}}}