| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Updates the org.json.json and com.jayway.jsonpath.json-path libraries which fix CVE-2023-51074 and CVE-2023-5072. Had to make code changes because the json-path library introduced a bug in the updated version which fails a few unit tests in our repo. See this PR to track the issue json-path/JsonPath#871
| return jsonElement; | ||
| } | ||
|
|
||
| // Upgrading the json-path lib from 2.6.0 to 2.9.0 introduced a bug where when you |
There was a problem hiding this comment.
please remove this comment
Sorry, something went wrong.
There was a problem hiding this comment.
Sorry, I meant : remove all of this: // try to delete a non-existent key in a DocumentContext with the SUPPRESS_EXCEPTIONS flag,
// it would throw a ClassCastException. This method is a workaround for the issue.
// Once this issue is fixed this method's usages can be replaced with a simple DocumentContext.delete(path).
// Track the issue here json-path/JsonPath#870
Sorry, something went wrong.
There was a problem hiding this comment.
We could leave this comment in until this issue is fixed. It's a good way to make sure we revisit it in the future.
Sorry, something went wrong.
There was a problem hiding this comment.
Sorry, folks, I would insist that we remove this comment. There will be no reason to update this library, unless another security issue. let keep it code clean.
Sorry, something went wrong.
There was a problem hiding this comment.
removed it now.
Sorry, something went wrong.
| return jsonElement; | ||
| } | ||
|
|
||
| // Upgrading the json-path lib from 2.6.0 to 2.9.0 introduced a bug where when you |
There was a problem hiding this comment.
Sorry, I meant : remove all of this: // try to delete a non-existent key in a DocumentContext with the SUPPRESS_EXCEPTIONS flag,
// it would throw a ClassCastException. This method is a workaround for the issue.
// Once this issue is fixed this method's usages can be replaced with a simple DocumentContext.delete(path).
// Track the issue here json-path/JsonPath#870
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM!
Sorry, something went wrong.
| return jsonElement; | ||
| } | ||
|
|
||
| // Upgrading the json-path lib from 2.6.0 to 2.9.0 introduced a bug where when you |
There was a problem hiding this comment.
Sorry, folks, I would insist that we remove this comment. There will be no reason to update this library, unless another security issue. let keep it code clean.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR checklist
Link to issue/feature request: #90
Description
Updates the org.json.json and com.jayway.jsonpath.json-path libraries which fix CVE-2023-51074 and CVE-2023-5072.
Had to make code changes because the json-path library introduced a bug in the updated version which fails a few unit tests in our repo. See this PR to track the issue json-path/JsonPath#871