Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Revert to drf-yasg upstream now that vulnerabilities are resolved #7195

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

JoelLefkowitz
Copy link

@JoelLefkowitz JoelLefkowitz commented Mar 10, 2025

The swagger-ui-dist package before v4.1.3 has vulnerabilities: CVE-2023-52425, CVE-2023-52426, CVE-2024-27983, CVE-2023-32313, CVE-2023-32314.

The package drf-yasg was a consumer of swagger-ui-dist and was impacted by these vulnerabilities. In #4837 a fork was used to replace the package source.

The vulnerable dependencies have since been bumped in drf-yasg and the fixed version is available from release 1.21.10

To continue to receive future vulnerability fixes we can add drf-yasg back as the upstream for this repository.

Copy link

netlify bot commented Mar 10, 2025

👷 Deploy request for heartex-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 8770f67

Copy link

netlify bot commented Mar 10, 2025

👷 Deploy request for label-studio-docs-new-theme pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 8770f67

@JoelLefkowitz JoelLefkowitz changed the title Revert to drf-yasg upstream now that CVE-2021-46708 is resolved fix: Revert to drf-yasg upstream now that CVE-2021-46708 is resolved Mar 10, 2025
@JoelLefkowitz JoelLefkowitz changed the title fix: Revert to drf-yasg upstream now that CVE-2021-46708 is resolved fix: Revert to drf-yasg upstream now that vulnerabilities are resolved Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant