hoch7.4
CVE-2025-70058
yapi disables TLS/SSL certificate validation via rejectUnauthorized: false in Axios HTTPS agent
Auswirkung
An issue pertaining to CWE-295: Improper Certificate Validation was discovered in YMFE yapi v1.12.0. The application disables TLS/SSL certificate validation by setting 'rejectUnauthorized': false in the HTTPS agent configuration for Axios requests
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | yapi-vendor | <= 1.12.0 | nicht erfasst |
Betroffene Produkte · Ymfe
| Produkt | Betroffene Versionen |
|---|---|
| Yapi | Version 1.12.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://gist.github.com/zcxlighthouse/11c53803faf23f607c2787c166e811d4
- https://github.com/YMFE
- https://github.com/YMFE/yapi
- https://github.com/advisories/GHSA-663h-2vr3-ghrj
- https://nvd.nist.gov/vuln/detail/CVE-2025-70058
- https://github.com/YMFE/yapi/blob/59bade3a8a43e7db077d38a4b0c7c584f30ddf8c/common/postmanLib.js#L110