GHSA-8f6j-263m-g72x

Suggest an improvement
Source
https://github.com/advisories/GHSA-8f6j-263m-g72x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-8f6j-263m-g72x/GHSA-8f6j-263m-g72x.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8f6j-263m-g72x
Published
2026-07-13T23:49:14Z
Modified
2026-07-14T00:00:09Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Apple App Store Server Python Library: SignedDataVerifier accepts stale OCSP GOOD responses and can bypass certificate revocation checks
Details

Summary

SignedDataVerifier attempts to perform online revocation checking when enable_online_checks=True, but its OCSP validation logic accepts stale GOOD responses as valid indefinitely. In appstoreserverlibrary/signed_data_verifier.py, _ChainVerifier.check_ocsp_status() verifies the OCSP response signature and CertID match, but never validates the freshness window carried by producedAt, thisUpdate, or nextUpdate.

As a result, a previously valid signed OCSP GOOD response can be replayed after it is expired, and the library will still treat the certificate as good. If an App Store signing certificate or intermediate is ever revoked, applications using this library with online checks enabled can continue accepting JWS objects signed with the revoked key as long as a stale signed OCSP response is replayed.

Database specific
{
    "cwe_ids":  [
        "CWE-295",
        "CWE-299"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-07-13T23:49:14Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

PyPI / app-store-server-library

Package

Name
app-store-server-library
View open source insights on deps.dev
Purl
pkg:pypi/app-store-server-library

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.2.0
Fixed
3.1.2

Affected versions

0.*
0.2.0
0.2.1
1.*
1.0.0
1.1.0
1.2.0
1.2.1
1.3.0
1.4.0
1.5.0
1.6.0
1.7.0
1.8.0
1.9.0
2.*
2.0.0
3.*
3.0.0
3.1.0
3.1.1

Database specific

last_known_affected_version_range
"<= 3.1.1"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-8f6j-263m-g72x/GHSA-8f6j-263m-g72x.json"