Skip to content

[Snyk] Security upgrade urllib3 from 2.0.7 to 2.2.2#29

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

[Snyk] Security upgrade urllib3 from 2.0.7 to 2.2.2#29
deargvp1 wants to merge 1 commit into
mainfrom
snyk-fix-877c0c086931cc012242dd69cae2f07b

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/standard_python3/building-an-app/building-an-app-3/requirements.txt

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

Adds urllib3>=2.2.2 to the sample’s requirements.txt to block vulnerable urllib3 versions and keep HTTP requests secure. This addresses SNYK-PYTHON-URLLIB3-7267250 in the App Engine Python 3 sample.

Written for commit 4f808f2. Summary will update on new commits.

Review in cubic

…uirements.txt to reduce vulnerabilities

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-7267250
@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: d7b368d5-5d6a-486d-8fd8-b3ff57f13365

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-877c0c086931cc012242dd69cae2f07b

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 urllib3>=2.2.2 to the requirements.txt file to address a vulnerability. The reviewer suggests pinning the dependency to an exact version (==2.2.2) rather than using >= to ensure reproducible builds and prevent potential deployment failures.

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.

google-cloud-datastore==2.15.1
google-auth==2.17.3
requests==2.34.2; python_version >= '3.10'
urllib3>=2.2.2 # 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 (such as Google App Engine), it is best practice to pin dependencies to exact versions using == rather than >=. This ensures reproducible builds and prevents unexpected deployment failures if a newer version of the library is released with breaking changes or bugs.

urllib3==2.2.2 # 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.

No issues found across 1 file

Re-trigger cubic

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