GitHub Advisory Database
GHSA-663h-2vr3-ghrj
yapi disables TLS/SSL certificate validation via rejectUnauthorized: false in Axios HTTPS agent
Details
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
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | yapi-vendor | All versions up to and including 1.12.0 |