Maven (Java)Worst: High4 advisories

io.swagger:swagger-codegen: known vulnerabilities

io.swagger:swagger-codegen has 4 reviewed security advisories in the GitHub Advisory Database — 2 high, 1 moderate, 1 low. The most recent was published 2021-03-11. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the io.swagger:swagger-codegen versions running across your servers, containers and images, and ranks what to patch first.

How to fix io.swagger:swagger-codegen

Upgrade io.swagger:swagger-codegen to a release at or above the fixed version shown for each advisory below. For Maven (Java):

Bump the dependency to 2.4.19 in your pom.xml or build.gradle

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (4)

Generated Code Contains Local Information Disclosure Vulnerability Moderate 6.2 CWE-200 CWE-378 CWE-732 — Affected: before 2.4.19. Fixed in 2.4.19. Published 2021-03-11. GHSA-hpv8-9rq5-hq7w · CVE-2021-21364
Generator Web Application: Local Privilege Escalation Vulnerability via System Temp Directory Low 9.3 CWE-378 CWE-379 — Affected: before 2.4.19. Fixed in 2.4.19. Published 2021-03-11. GHSA-pc22-3g76-gm6j · CVE-2021-21363
Deserialization of Untrusted Data in swagger-parser High 8.8 CWE-502 — Affected: before 2.2.2. Fixed in 2.2.2. Published 2018-10-19. GHSA-q7pf-qr96-2vq5 · CVE-2017-1000208
Deserialization of Untrusted Data in swagger-codegen High 8.8 CWE-502 — Affected: before 2.2.2. Fixed in 2.2.2. Published 2018-10-19. GHSA-vgvf-9jh3-fg75 · CVE-2017-1000207

Find io.swagger:swagger-codegen across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.