Skip to content

Bump com.maxmind.db:maxmind-db from 4.1.0 to 4.2.0 - #792

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/com.maxmind.db-maxmind-db-4.2.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/maven/com.maxmind.db-maxmind-db-4.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 21, 2026

Copy link
Copy Markdown
Contributor

Bumps com.maxmind.db:maxmind-db from 4.1.0 to 4.2.0.

Release notes

Sourced from com.maxmind.db:maxmind-db's releases.

4.2.0

  • Fixed decoding of data pointers with offsets of 2 GiB or greater. Records beyond that boundary could previously fail with IllegalArgumentException.
  • Fixed skipping unknown four-byte pointers during typed decoding. Skipped values that extend past the database are now rejected.
  • Fixed UTF-8 decoding across buffer chunks. Malformed decoded strings and truncated values now throw InvalidDatabaseException.
  • Added decoder limits to prevent excessive CPU and memory use from crafted databases: 65,536 decoded or skipped values, 128 nested containers, and 2 MiB of encoded string and bytes payload per operation. Exceeding a limit throws InvalidDatabaseException. See https://github.com/maxmind/MaxMind-DB-Reader-java/blob/HEAD/UPGRADING.md for accounting, decoded-value validation, and collection capacity-hint changes.
  • Improved decoder performance and reduced per-lookup allocation, including UTF-8 string decoding.
Changelog

Sourced from com.maxmind.db:maxmind-db's changelog.

4.2.0 (2026-09-10)

  • Fixed decoding of data pointers with offsets of 2 GiB or greater. Records beyond that boundary could previously fail with IllegalArgumentException.
  • Fixed skipping unknown four-byte pointers during typed decoding. Skipped values that extend past the database are now rejected.
  • Fixed UTF-8 decoding across buffer chunks. Malformed decoded strings and truncated values now throw InvalidDatabaseException.
  • Added decoder limits to prevent excessive CPU and memory use from crafted databases: 65,536 decoded or skipped values, 128 nested containers, and 2 MiB of encoded string and bytes payload per operation. Exceeding a limit throws InvalidDatabaseException. See https://github.com/maxmind/MaxMind-DB-Reader-java/blob/main/UPGRADING.md for accounting, decoded-value validation, and collection capacity-hint changes.
  • Improved decoder performance and reduced per-lookup allocation, including UTF-8 string decoding.
Commits
  • 6af91cf Preparing for 4.2.0
  • 9ebddfd Set release date
  • cf2ee83 Merge pull request #442 from maxmind/greg/stf-1488
  • a326219 Consolidate release notes and document skipped-field behavior
  • e0fa785 Clarify decoder accounting and cache contracts
  • 715e999 Identify payload boundary assertions by cache and attempt
  • 0731430 Describe file bounds accurately in decoder errors
  • a0ed65e Remove redundant decoder cost accessors and size casts
  • 553be73 Test payload boundaries with concurrent shared-cache lookups
  • f314068 Cover payload and skipped-depth boundaries across cache states
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.maxmind.db:maxmind-db](https://github.com/maxmind/MaxMind-DB-Reader-java) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/maxmind/MaxMind-DB-Reader-java/releases)
- [Changelog](https://github.com/maxmind/MaxMind-DB-Reader-java/blob/main/CHANGELOG.md)
- [Commits](maxmind/MaxMind-DB-Reader-java@v4.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: com.maxmind.db:maxmind-db
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Sep 21, 2026

This branch has not been deployed

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

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Development

Successfully merging this pull request may close these issues.

0 participants