Skip to content

[Snyk] Security upgrade zipp from 3.15.0 to 3.19.1#25

Open
deargvp1 wants to merge 1 commit into
mainfrom
snyk-fix-dfee061955e965740fa1aaeb489477ba
Open

[Snyk] Security upgrade zipp from 3.15.0 to 3.19.1#25
deargvp1 wants to merge 1 commit into
mainfrom
snyk-fix-dfee061955e965740fa1aaeb489477ba

Conversation

@deargvp1
Copy link
Copy Markdown
Owner

@deargvp1 deargvp1 commented Jun 4, 2026

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • appengine/flexible/websockets/requirements.txt
⚠️ Warning
Werkzeug 2.2.3 has requirement MarkupSafe>=2.1.1, but you have MarkupSafe 2.0.1.

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.


Summary by cubic

Pins zipp to >=3.19.1 to fix a security vulnerability and reduce risk in the App Engine websockets sample. Only appengine/flexible/websockets/requirements.txt was changed.

  • Dependencies

    • Require zipp>=3.19.1 to address SNYK-PYTHON-ZIPP-7430899.
  • Migration

    • Current MarkupSafe==2.0.1 may conflict with Werkzeug requirements. Consider upgrading to MarkupSafe>=2.1.1.

Written for commit 535e54e. Summary will update on new commits.

Review in cubic

…bilities

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-ZIPP-7430899
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 4, 2026

Important

Review skipped

Ignore keyword(s) in the title.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: e023fa7d-714f-4861-937c-8d3687f06f03

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch snyk-fix-dfee061955e965740fa1aaeb489477ba

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds the zipp dependency to requirements.txt to address a vulnerability. The reviewer recommends pinning zipp to an exact version (==3.19.1) rather than using >= to ensure build reproducibility and prevent unexpected breaking changes.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

requests==2.34.2; python_version >= '3.10'
markupsafe==2.0.1
Werkzeug==3.1.8; python_version >= '3.9'
zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For application deployments, it is highly recommended to pin all dependencies to exact versions to ensure build reproducibility and prevent unexpected updates from introducing breaking changes. Please pin zipp to ==3.19.1 instead of >=3.19.1.

zipp==3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 1 file

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="appengine/flexible/websockets/requirements.txt">

<violation number="1" location="appengine/flexible/websockets/requirements.txt:7">
P2: Using `>=` for `zipp` makes dependency resolution non-reproducible in a file that otherwise pins exact versions; future installs can pull different versions and cause unexpected behavior changes.</violation>
</file>

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

requests==2.34.2; python_version >= '3.10'
markupsafe==2.0.1
Werkzeug==3.1.8; python_version >= '3.9'
zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Using >= for zipp makes dependency resolution non-reproducible in a file that otherwise pins exact versions; future installs can pull different versions and cause unexpected behavior changes.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At appengine/flexible/websockets/requirements.txt, line 7:

<comment>Using `>=` for `zipp` makes dependency resolution non-reproducible in a file that otherwise pins exact versions; future installs can pull different versions and cause unexpected behavior changes.</comment>

<file context>
@@ -4,3 +4,4 @@ gunicorn==23.0.0
 requests==2.34.2; python_version >= '3.10'
 markupsafe==2.0.1
 Werkzeug==3.1.8; python_version >= '3.9'
+zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability
</file context>
Suggested change
zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability
zipp==3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants