GHSA-663h-2vr3-ghrj
yapi disables TLS/SSL certificate validation via rejectUnauthorized: false in Axios HTTPS agent
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | yapi-vendor | <= 1.12.0 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
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
References
External links from the advisory. They lead to third-party sites.