{"id":"CVE-2019-25160","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2024-02-26T18:15:06.930","lastModified":"2026-08-04T10:16:33.017","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetlabel: fix out-of-bounds memory accesses\n\nThere are two array out-of-bounds memory accesses, one in\ncipso_v4_map_lvl_valid(), the other in netlbl_bitmap_walk().  Both\nerrors are embarassingly simple, and the fixes are straightforward.\n\nAs a FYI for anyone backporting this patch to kernels prior to v4.8,\nyou'll want to apply the netlbl_bitmap_walk() patch to\ncipso_v4_bitmap_walk() as netlbl_bitmap_walk() doesn't exist before\nLinux v4.8."},{"lang":"es","value":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnetlabel: corrección de accesos a memoria fuera de límites\n\nHay dos accesos a memoria fuera de límites de array, uno en cipso_v4_map_lvl_valid(), el otro en netlbl_bitmap_walk(). Ambos errores son vergonzosamente simples, y las correcciones son directas.\n\nComo información para cualquiera que haga un 'backport' de este parche a kernels anteriores a la v4.8, querrán aplicar el parche de netlbl_bitmap_walk() a cipso_v4_bitmap_walk() ya que netlbl_bitmap_walk() no existe antes de Linux v4.8."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["net/ipv4/cipso_ipv4.c","net/netlabel/netlabel_kapi.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"446fda4f26822b2d42ab3396aafcedf38a9ff2b6","lessThan":"97bc3683c24999ee621d847c9348c75d2fe86272","versionType":"git","status":"affected"},{"version":"446fda4f26822b2d42ab3396aafcedf38a9ff2b6","lessThan":"c61d01faa5550e06794dcf86125ccd325bfad950","versionType":"git","status":"affected"},{"version":"446fda4f26822b2d42ab3396aafcedf38a9ff2b6","lessThan":"dc18101f95fa6e815f426316b8b9a5cee28a334e","versionType":"git","status":"affected"},{"version":"446fda4f26822b2d42ab3396aafcedf38a9ff2b6","lessThan":"1c973f9c7cc2b3caae93192fdc8ecb3f0b4ac000","versionType":"git","status":"affected"},{"version":"446fda4f26822b2d42ab3396aafcedf38a9ff2b6","lessThan":"fcfe700acdc1c72eab231300e82b962bac2b2b2c","versionType":"git","status":"affected"},{"version":"446fda4f26822b2d42ab3396aafcedf38a9ff2b6","lessThan":"e3713abc4248aa6bcc11173d754c418b02a62cbb","versionType":"git","status":"affected"},{"version":"446fda4f26822b2d42ab3396aafcedf38a9ff2b6","lessThan":"fbf9578919d6c91100ec63acf2cba641383f6c78","versionType":"git","status":"affected"},{"version":"446fda4f26822b2d42ab3396aafcedf38a9ff2b6","lessThan":"5578de4834fe0f2a34fedc7374be691443396d1f","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["net/ipv4/cipso_ipv4.c","net/netlabel/netlabel_kapi.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"2.6.19","status":"affected"},{"version":"0","lessThan":"2.6.19","versionType":"semver","status":"unaffected"},{"version":"3.16.66","lessThanOrEqual":"3.16.*","versionType":"semver","status":"unaffected"},{"version":"3.18.137","lessThanOrEqual":"3.18.*","versionType":"semver","status":"unaffected"},{"version":"4.4.177","lessThanOrEqual":"4.4.*","versionType":"semver","status":"unaffected"},{"version":"4.9.163","lessThanOrEqual":"4.9.*","versionType":"semver","status":"unaffected"},{"version":"4.14.106","lessThanOrEqual":"4.14.*","versionType":"semver","status":"unaffected"},{"version":"4.19.28","lessThanOrEqual":"4.19.*","versionType":"semver","status":"unaffected"},{"version":"4.20.15","lessThanOrEqual":"4.20.*","versionType":"semver","status":"unaffected"},{"version":"5.0","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","baseScore":9.1,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.2},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-02-27T16:02:54.112450Z","id":"CVE-2019-25160","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-125"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.19","versionEndExcluding":"3.16.66","matchCriteriaId":"5BE81AB9-4B65-4869-90BE-017D91883C73"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17.0","versionEndExcluding":"3.18.137","matchCriteriaId":"4398F66E-2736-42C0-860F-F7BC4AA499A9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19.0","versionEndExcluding":"4.4.177","matchCriteriaId":"2B11D0D4-8911-4176-B660-7A31A5A5563F"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.5.0","versionEndExcluding":"4.9.163","matchCriteriaId":"32689183-4840-45C3-B1C1-786F9AA3C37F"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10.0","versionEndExcluding":"4.14.106","matchCriteriaId":"B0A84CE1-F2C1-45E6-9856-4A5389302236"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.15.0","versionEndExcluding":"4.19.28","matchCriteriaId":"EAD30F57-73E5-4527-9D5A-A7927304AE6B"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20.0","versionEndExcluding":"4.20.15","matchCriteriaId":"09B03EF0-9FEB-41ED-8907-3528587B0BF6"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/1c973f9c7cc2b3caae93192fdc8ecb3f0b4ac000","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/5578de4834fe0f2a34fedc7374be691443396d1f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/97bc3683c24999ee621d847c9348c75d2fe86272","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c61d01faa5550e06794dcf86125ccd325bfad950","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/dc18101f95fa6e815f426316b8b9a5cee28a334e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e3713abc4248aa6bcc11173d754c418b02a62cbb","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/fbf9578919d6c91100ec63acf2cba641383f6c78","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/fcfe700acdc1c72eab231300e82b962bac2b2b2c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/1c973f9c7cc2b3caae93192fdc8ecb3f0b4ac000","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/5578de4834fe0f2a34fedc7374be691443396d1f","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/97bc3683c24999ee621d847c9348c75d2fe86272","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c61d01faa5550e06794dcf86125ccd325bfad950","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/dc18101f95fa6e815f426316b8b9a5cee28a334e","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e3713abc4248aa6bcc11173d754c418b02a62cbb","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/fbf9578919d6c91100ec63acf2cba641383f6c78","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/fcfe700acdc1c72eab231300e82b962bac2b2b2c","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]}]}