MODERATE 4.3
CVE-2018-25031
Spoofing attack in swagger-ui
Description
Swagger UI before 4.1.3 could allow a remote attacker to conduct spoofing attacks. By persuading a victim to open a crafted URL, an attacker could exploit this vulnerability to display remote OpenAPI definitions.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.webjars » swagger-ui | < 4.1.3 | 4.1.3 |
| org.mvnpm » swagger-uivia npm swagger-ui | < 4.1.3 | 4.1.3 |
| org.webjars » swagger-uivia npm swagger-ui | < 4.1.3 | 4.1.3 |
| org.webjars.npm » swagger-uivia npm swagger-ui | < 4.1.3 | 4.1.3 |
Blast radius
2affected artifacts
213affected versions
1,048dependent artifacts (est.)
65,340dependent versions
51% of the dependent artifacts (537) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 12,365 |
| 2 hops | 42,614 |
| 3 hops | 9,058 |
| 4 hops | 872 |
| 5 hops | 278 |
| 6 hops | 153 |
Most used dependents
- org.springdoc » springdoc-openapi-ui786 usages
- org.springdoc » springdoc-openapi-webflux-ui60 usages
- io.quarkus » quarkus-smallrye-openapi-deployment59 usages
- org.apache.pinot » pinot-common50 usages
- io.cronapp » cronapi-java48 usages
- ca.uhn.hapi.fhir » hapi-fhir-jpaserver-base37 usages
- org.jumpmind.pos » openpos-util36 usages
- org.apache.pinot » pinot-core35 usages
- io.mosip.registrationprocessor » registration-processor-info-storage-service32 usages
- com.softwaremill.sttp.tapir » tapir-swagger-ui-bundle32 usages
- io.mosip.kernel » kernel-keymanager-service31 usages
- net.n2oapp.platform » n2o-platform-starter-jaxrs-server26 usages
- org.jumpmind.pos » commerce-context22 usages
- net.guerlab.cloud » guerlab-cloud-server-openapi-webmvc22 usages
- ca.uhn.hapi.fhir » hapi-fhir-testpage-overlay21 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2018-25031
- Webhttps://github.com/swagger-api/swagger-ui/issues/4872
- Webhttps://github.com/swagger-api/swagger-ui/pull/7697
- Packagehttps://github.com/swagger-api/swagger-ui
- Webhttps://github.com/swagger-api/swagger-ui/releases/tag/v4.1.3
- Webhttps://security.netapp.com/advisory/ntap-20220407-0004
- Webhttps://security.snyk.io/vuln/SNYK-JS-SWAGGERUI-2314885
