Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 12, 2025

Bumps the bundler group with 1 update in the / directory: json.

Updates json from 2.10.1 to 2.10.2

Release notes

Sourced from json's releases.

v2.10.2

What's Changed

  • Fix a potential crash in the C extension parser.
  • Raise a ParserError on all incomplete unicode escape sequence. This was the behavior until 2.10.0 unadvertently changed it.
  • Ensure document snippets that are included in parser errors don't include truncated multibyte characters.
  • Ensure parser error snippets are valid UTF-8.
  • Fix JSON::GeneratorError#detailed_message on Ruby < 3.2

Full Changelog: ruby/json@v2.10.1...v2.10.2

Changelog

Sourced from json's changelog.

2025-03-12 (2.10.2)

  • Fix a potential crash in the C extension parser.
  • Raise a ParserError on all incomplete unicode escape sequence. This was the behavior until 2.10.0 unadvertently changed it.
  • Ensure document snippets that are included in parser errors don't include truncated multibyte characters.
  • Ensure parser error snippets are valid UTF-8.
  • Fix JSON::GeneratorError#detailed_message on Ruby < 3.2
Commits
  • 350c1fd Release 2.10.2
  • c56db31 Merge commit from fork
  • cf242d8 Fix potential out of bound read in json_string_unescape.
  • 57911f1 Merge pull request #762 from byroot/invalid-escape
  • 7d0637b Raise a ParserError on all incomplete unicode escape sequence.
  • c079793 Avoid fast-path IO writes when IO has ext enc
  • ac30b69 Merge pull request #757 from rahim/fix-generator-error-no-method-error
  • 2e015ff Fix JSON::GeneratorError#detailed_message with Ruby < 3.2
  • f3e1136 Merge pull request #756 from byroot/utf8-snippets
  • e144793 Ensure parser error snippets are valid UTF-8
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps the bundler group with 1 update in the / directory: [json](https://github.com/ruby/json).


Updates `json` from 2.10.1 to 2.10.2
- [Release notes](https://github.com/ruby/json/releases)
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md)
- [Commits](ruby/json@v2.10.1...v2.10.2)

---
updated-dependencies:
- dependency-name: json
  dependency-type: indirect
  dependency-group: bundler
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Mar 12, 2025
@github-management-service

It looks like you are reviewing a Dependabot upgrade PR! 🛠️
That’s great! Keeping our packages up to date to fix security issues in our stack is super important. Team Application Security wants to help make this process as easy and low friction as possible while still moving at pace.

We aim to merge Dependabot PRs within the below timeframes. The objectives are based on the severity of the security vulnerability we are mitigating with the upgrade:

Severity Target Merge (days)
CRITICAL 7 days
HIGH 14 days
MEDIUM 30 days
LOW 90 days

🎯 Target merge date for this PR: 26/03/2025 🎯

FAQ

What if we aren’t vulnerable to this particular CVE? Do we still have to upgrade the package? It’s still a good idea to upgrade the package if we can. With new code patterns and paths being introduced every day, we have no guarantee that we won’t later make ourselves vulnerable. Keeping packages up to date as a matter of due course is also good hygiene.
What if we’re not vulnerable and upgrading is going to be a lot of work? In these cases it’s a good idea to list out the steps you took to confirm we are not vulnerable in this PR. The PR can then be closed and the corresponding Dependabot Alert should be dismissed with the triage steps included as a comment. Please get in touch with Team Application Security via #ask-security before dismissing any CRITICAL alerts.
This is a major version upgrade that requires substantial code refactoring. What should I do? If the upgrade requires substantial refactoring then it is possible that we will miss the objectives we have outlined above. In these cases, you should add the dependabot-refactor-required label to this PR and ping #ask-security for further advice.

@github-management-service github-management-service requested a review from a team March 12, 2025 15:52
@github-management-service github-management-service merged commit 5f0e567 into main Mar 12, 2025
8 checks passed
@github-management-service github-management-service deleted the dependabot/bundler/bundler-1994942c26 branch March 12, 2025 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

alert-severity-HIGH dependabot-automerged dependabot-semver-patch dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code team-messenger

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants