Bump spray-json_2.11 from 1.3.3 to 1.3.5
Bumps spray-json_2.11 from 1.3.3 to 1.3.5.
Release notes
Sourced from spray-json_2.11's releases.
1.3.5
See the milestone for all changes.
Security fix for several Denial Of Service vulnerabilities:
- CVE-2018-18853: Limit the number of characters for numbers in the parser (#278)
- CVE-2018-18854: Use TreeMap instead of HashMap for JsObject to prevent collision attacks (#277)
- CVE-2018-18855: Fix uncontrolled recursion in parser by limiting nesting depth (#286)
Thanks, Andriy Plokhotnyuk who brought the first two issues to our attention.
Migration Notes
For some fixes, we added new limits to the parser:
- Maximum depth of nested JSON values, defaults to 1000
- Maximum characters for number values, defaults to 100
We introduced a
JsonParserSettingsclass which can be used to customize these limits. New overloads forJsonParser.applyandString.parseJsonhave been introduced to specify custom settings.Also, field ordering changed when printing a
JsValue. UsejsValue.sortedPrintif you want to be sure fields are always ordered the same.v1.3.4
This release is cross released for Scala 2.10, 2.11, 2.12 and 2.13-M2.
It is mostly a small maintanance release in which some documentation was polished and for example the
sortedPrintprinter was added.Specific source-compatibility breaking edge-case: While binary compatibility remains working in this release, there is one specific edge case which can happen and be not source-compatible when upgrading to this version. The method
def pimpStringwas made not-implicit, and replaced byimplicit def enrichString, so if you previously imported the implicit specifically by its name, i.e. rather thanimport spray.json._you wroteimport spray.json.pimpStringcode relying on this change would now break. Please change it to import_, which will bring in the required implicits.For a complete list of closed issues please refer to the milestone.
Changelog
Sourced from spray-json_2.11's changelog.
Version 1.3.5 (2017-10-24)
Security fix for several Denial Of Service vulnerabilities:
- CVE-2018-18853: Limit the number of characters for numbers in the parser (#278)
- CVE-2018-18854: Use TreeMap instead of HashMap for JsObject to prevent collision attacks (#277)
- CVE-2018-18855: Fix uncontrolled recursion in parser by limiting nesting depth (#286)
Thanks, Andriy Plokhotnyuk who brought the first two issues to our attention.
Migration Notes
For some fixes, we added new limits to the parser:
- Maximum depth of nested JSON values, defaults to 1000
- Maximum characters for number values, defaults to 100
We introduced a
JsonParserSettingsclass which can be used to customize these limits. New overloads forJsonParser.applyandString.parseJsonhave been introduced to specify custom settings.Version 1.3.4 (2017-10-24)
- Replace ClassManifest by ClassTag
- Deprecate Pimp* classes and replace by Rich*
Commits
bfaf245Add 1.3.5 release notes62520d7Add documentation for JsonParserSettings21a3468Seal JsonParserSetting trait0821642Bump version to 1.3.5b2f485eMerge pull request #283 from jrudolph/limit-size-of-numbersa8c45e7CVE-2018-18853 Limit the number of characters for numbers in the parser, fixe...d56d7f4Merge pull request #284 from jrudolph/fix-uncontrolled-recursion659d7e3Merge pull request #285 from spray/jrudolph-patch-1c8e106fMerge pull request #280 from jrudolph/use-TreeMap-fixes-277a558753CVE-2018-18855 Fix uncontrolled recursion in the JsonParser by imposing a con...- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.