{"id":"CVE-2018-7408","sourceIdentifier":"cve@mitre.org","published":"2018-02-22T18:29:00.253","lastModified":"2026-06-17T02:03:05.407","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"An issue was discovered in an npm 5.7.0 2018-02-21 pre-release (marked as \"next: 5.7.0\" and therefore automatically installed by an \"npm upgrade -g npm\" command, and also announced in the vendor's blog without mention of pre-release status). It might allow local users to bypass intended filesystem access restrictions because ownerships of /etc and /usr directories are being changed unexpectedly, related to a \"correctMkdir\" issue."},{"lang":"es","value":"Se ha descubierto un problema en un prelanzamiento de npm 5.7.0 2018-02-21 (marcado como \"next: 5.7.0\" y, por lo tanto, instalado automáticamente mediante un comando \"npm upgrade -g npm\" y anunciado en el blog del fabricante sin mencionar que se trata de un prelanzamiento). Podría permitir que los usuarios locales omitan las restricciones de acceso planeadas debido a que la propiedad de los directorios /etc y /usr se cambia de forma inesperada. Esto se relaciona con un problema \"correctMkdir\"."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","baseScore":4.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-732"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:npmjs:npm:5.7.0:*:*:*:*:*:*:*","matchCriteriaId":"731C75C2-2367-4B65-99CC-B334D7FEAEB2"}]}]}],"references":[{"url":"http://blog.npmjs.org/post/171169301000/v571","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"https://github.com/npm/npm/commit/74e149da6efe6ed89477faa81fef08eee7999ad0","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://github.com/npm/npm/issues/19883","source":"cve@mitre.org","tags":["Issue Tracking","Third Party Advisory"]},{"url":"http://blog.npmjs.org/post/171169301000/v571","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"https://github.com/npm/npm/commit/74e149da6efe6ed89477faa81fef08eee7999ad0","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://github.com/npm/npm/issues/19883","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Third Party Advisory"]}]}