8000 fix(deps): update dependency io.github.bonigarcia:webdrivermanager to v6 [security] by renovate-bot · Pull Request #10092 · GoogleCloudPlatform/java-docs-samples · GitHub
[go: up one dir, main page]

Skip to content

fix(deps): update dependency io.github.bonigarcia:webdrivermanager to v6 [security] #10092

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.github.bonigarcia:webdrivermanager (source) 5.6.3 -> 6.1.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

GitHub Vulnerability Alerts

CVE-2025-4641

Improper Restriction of XML External Entity Reference vulnerability in bonigarcia webdrivermanager on Windows, MacOS, Linux (XML parsing components modules) allows Data Serialization External Entities Blowup. This vulnerability is associated with program files src/main/java/io/github/bonigarcia/wdm/WebDriverManager.java.

This issue affects webdrivermanager: from 1.0.0 before 6.1.0.


Release Notes

bonigarcia/webdrivermanager (io.github.bonigarcia:webdrivermanager)

v6.1.0

Added
  • Wait for extension recording (WEBM) in the Downloads folder
  • Include getRecordingPath() method in WebDriverManager API
Changed
  • Update deprecate methods in httpclient5 to create http-client
  • Use LoggingPreferences for log gathering in Chromium-based browsers
Fixed
  • Add BrowserWatcher 2.0.0 (MV3), which fixes video recording
Removed
  • Remove console log displaying and disabling CSP in Chromium-based browsers (not supported in MV2)

v6.0.1

Fixed
  • Use seleniarm images only for Chromium and Firefox in ARM64 machines
Changed

v6.0.0

Added
  • Use docker-selenium images for Docker support
  • Support ARM64 Docker images (seleniarm)
  • Use PowerShell commands to discover browser versions in Windows
  • Support for geckodriver snap in Linux
  • Include browserBinary() method in WebDriverManager API
Fixed
  • Fix required options in Chromium manager
  • Fix relation between Opera major version and operadriver
Changed
  • Change default Docker shm size to 512m
  • Change default Docker recording resolution to 1920x1080
  • Bump to bonigarcia/novnc:1.2.0
  • Improve commands for browser version discovery in Linux
  • Specify different version for Java tests (11) and main code (8) in pom.xml
  • Update operadriver browser version check
Removed
  • Remove Docker support through Aerokube images (archived)
  • Remove support for Opera, Safari (WebKit), and Chrome Mobile in Docker
  • Remove Docker support through Twilio images (already provided by docker-selenium)
  • Remove browser version discovery in Windows through WMIC (deprecated)

v5.9.3

Fixed
  • Delete temporary .crx files on JVM exit (#​1415)
Changed
  • Support reading msedgedriver storage bucket listing XML as of version 125.0 (#​1323)

v5.9.2

Fixed
  • HTTP 404 when downloading microsoft edgedriver in macOS or Linux (#​1320)

v5.9.1

Removed
  • Remove using jackson-databind 2.17.1

v5.9.0

Fixed
  • Fix architecture label to build URL for Edge ARM64
Changed
  • Force to use jackson-databind 2.17.1
Removed
  • Exclude org.bouncycastle:bcpkix-jdk18on from docker-java

v5.8.0

Fixed
  • Check resolved browser version in Firefox manager (#​1240)
Changed
  • Updated how we check if Docker is running to work with the new cgroup v2 system (#​1259)
Added
  • Support for chromedriver 115+ (CfT endpoints) for NPM mirror (#​1264)

v5.7.0

Fixed
  • Fix CFT label used to get chromedriver version from the URLs (#​1226)
Changed
  • Calculate operadriver version using major Opera version plus 14
Added
Removed
  • Remove logic for using local or online versions.properties
  • Remove wdm.versionsPropertiesOnlineFirst and wdm.versionsPropertiesUrl and associated logic
  • Remove wdm.avoidReadReleaseFromRepository configuration key and associated logic

v5.6.4

Fixed
  • Update Chrome download URL pattern (#​1222)

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@forking-renovate forking-renovate bot added lang: java Issues specific to Java. type:security labels May 15, 2025
@renovate-bot renovate-bot requested review from yoshi-approver and a team as code owners May 15, 2025 18:16
@renovate-bot renovate-bot added lang: java Issues specific to Java. type:security labels May 15, 2025
@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 15, 2025
@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: recaptchaenterprise Issues related to the reCAPTCHA API. labels May 15, 2025
Copy link
@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.

Hello @renovate-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

Summary of Changes

Hello! gemini-code-assist here, providing a summary of this pull request. This PR, authored by renovate-bot, aims to update the io.github.bonigarcia:webdrivermanager dependency from version 5.6.3 to 6.1.0. This is a significant version jump and includes multiple releases, notably addressing the security vulnerability CVE-2025-4641 related to XML External Entity Reference, which affects versions prior to 6.1.0. The update involves a single change in the pom.xml file to reflect the new dependency version.

Highlights

  • Security Fix: Addresses the security vulnerability CVE-2025-4641 (Improper Restriction of XML External Entity Reference) by upgrading to a version that is not affected.
  • Major Version Upgrade: This update includes changes introduced across multiple releases, including 6.0.0, 6.0.1, and 6.1.0, bringing various new features, fixes, and changes as detailed in the release notes (e.g., Docker support changes, browser version discovery improvements).

Changelog

  • recaptcha_enterprise/snippets/src/pom.xml
    • Updated the version of the io.github.bonigarcia:webdrivermanager dependency from 5.6.3 to 6.1.0.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.


Dependency update,
Fixing bugs, closing the gate,
Security patched.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 15, 2025
Copy link
@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 effectively addresses the security vulnerability CVE-2025-4641 by updating io.github.bonigarcia:webdrivermanager from version 5.6.3 to 6.1.0. The change is straightforward and targets the correct dependency. The inclusion of release notes in the PR description is very helpful for understanding the scope of changes in the updated version.

Summary of Findings

  • Security Vulnerability Addressed: The primary goal of updating io.github.bonigarcia:webdrivermanager to 6.1.0 is to fix CVE-2025-4641, which this change successfully achieves.
  • Test Verification for Major Version Update: Due to the major version increment (5.x to 6.x) and documented breaking changes in the v6.0.0 release of webdrivermanager, it's recommended to thoroughly verify that existing integration tests (SnippetsIT.java) continue to pass as expected.

Merge Readiness

This pull request is a valuable security update. The change itself is correct. Before merging, it would be prudent to confirm that the integration tests relying on webdrivermanager in SnippetsIT.java execute successfully with the new version 6.1.0, considering the major version jump. I am not authorized to approve pull requests, so please ensure appropriate review and approval from team members. Once test compatibility is confirmed, this PR should be good to merge.

@@ -78,7 +78,7 @@
<dependency>
<groupId>io.github.bonigarcia</groupId>
<artifactId>webdrivermanager</artifactId>
<version>5.6.3</version>
<version>6.1.0</version>

Choose a reason for hiding this comment

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

medium

This update to version 6.1.0 is crucial for addressing the listed security vulnerability (CVE-2025-4641).

Given that this is a major version bump (from 5.x to 6.x), and the release notes for v6.0.0 (included in this major update) list several removed features and significant changes, could you please ensure that the UI tests in SnippetsIT.java (which utilize WebDriverManager for ChromeDriver setup) are thoroughly verified?

While the Renovate bot's compatibility badges are a good indicator, confirming that all tests pass as expected with this new version will help ensure stability and catch any subtle behavioral changes that might not be covered by automated compatibility checks. The key aspects to look out for would be any reliance on features that might have been altered or removed as per the v6.0.0 release notes.

@renovate-bot renovate-bot force-pushed the renovate/maven-io.github.bonigarcia-webdrivermanager-vulnerability branch from ee3f708 to 04f647f Compare May 15, 2025 20:00
@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 15, 2025
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: recaptchaenterprise Issues related to the reCAPTCHA API. lang: java Issues specific to Java. samples Issues that are directly related to samples. type:security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0