{"answers":{"affected":"5 open source packages ship an affected version, including github.com/google/exposure-notifications-server.","exploited":"There is no known exploitation of GHSA-3wxm-m9m4-cprj in the wild and no public exploit code.","fix":"Upgrade github.com/google/exposure-notifications-server to a fixed version for your release line: 0.18.3 or 0.19.2.","what":"GHSA-3wxm-m9m4-cprj is a vulnerability in github.com/google/exposure-notifications-server, published on 21 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-3wxm-m9m4-cprj and fix it if it is affected.\n\nWhat it is: GHSA-3wxm-m9m4-cprj is a vulnerability in github.com/google/exposure-notifications-server, published on 21 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-3wxm-m9m4-cprj in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/google/exposure-notifications-server (Go): affected all versions; fixed in 0.18.3, 0.19.2\n- github.com/google/exposure-notifications-server (Go): affected all versions; fixed in 0.18.3\n- github.com/google/exposure-notifications-server (Go): affected all versions; fixed in 0.18.3\n- github.com/google/exposure-notifications-server (Go): affected from 0.19.0; fixed in 0.19.2\n- github.com/google/exposure-notifications-server (Go): affected from 0.19.0; fixed in 0.19.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-3wxm-m9m4-cprj/ (Markdown: https://insights.sbomify.com/GHSA-3wxm-m9m4-cprj/index.md)","id":"GHSA-3wxm-m9m4-cprj","markdown":"https://insights.sbomify.com/GHSA-3wxm-m9m4-cprj/index.md","name":"GHSA-3wxm-m9m4-cprj","record":{"aliases":["GO-2022-0381"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Exposure Notifications Server","requires_auth":"none","summary":"Importing keys from non-compliant servers allows early publication and potential replay of Random Proximity Identifiers, impacting privacy.","user_interaction":"not_required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\n\nIf your installation is using the `export-importer` service, there is potential impact.\nIf your installation is not importing keys via the `export-importer` services, your installation is not impacted.\n\nIn versions `0.19.1` and earlier, the `export-importer` service assumed that the server it was importing from had properly embargoed keys for at least 2 hours after their expiry time. There are now known instances of servers that did not properly embargo keys.\n\nThis could allow allow for imported keys to be re-published before they have expired, allowing for potential replay of RPIs.\n\n### Patches\n\nThis is patched in `v0.18.3` and all versions `0.19.2` and later.\n\n### Workarounds\n\nEnsure that the servers you are importing export zip files from are not publishing keys too early. \n\n### References\n\nn/a\n\n### For more information\n\nIf you have any questions or comments about this advisory\n* Open an issue in [exposure-notifications-server](https://github.com/google/exposure-notifications-server/)\n* Email us at [exposure-notifications-feedback@google.com](mailto:exposure-notifications-feedback@google.com)","ecosystems":["Go"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Import of incorrectly embargoed keys could cause early publication","id":"GHSA-3wxm-m9m4-cprj","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Go","product":null,"products":[],"type":"business_logic","year":"2021"},"n_packages":5,"n_references":null,"packages":[{"ecosystem":"Go","fixed":["0.18.3","0.19.2"],"introduced":["0","0.19.0"],"last_affected":[],"package":"github.com/google/exposure-notifications-server","purl":"pkg:golang/github.com/google/exposure-notifications-server","source":"GO-2022-0381"},{"ecosystem":"Go","fixed":["0.18.3"],"introduced":["0"],"last_affected":[],"package":"github.com/google/exposure-notifications-server","purl":null,"source":"GHSA-3wxm-m9m4-cprj"},{"ecosystem":"Go","fixed":["0.18.3"],"introduced":["0"],"last_affected":[],"package":"github.com/google/exposure-notifications-server","purl":"pkg:golang/github.com/google/exposure-notifications-server","source":"GHSA-3wxm-m9m4-cprj"},{"ecosystem":"Go","fixed":["0.19.2"],"introduced":["0.19.0"],"last_affected":[],"package":"github.com/google/exposure-notifications-server","purl":null,"source":"GHSA-3wxm-m9m4-cprj"},{"ecosystem":"Go","fixed":["0.19.2"],"introduced":["0.19.0"],"last_affected":[],"package":"github.com/google/exposure-notifications-server","purl":"pkg:golang/github.com/google/exposure-notifications-server","source":"GHSA-3wxm-m9m4-cprj"}],"products":null,"published":"2021-05-21","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Importing keys from non-compliant servers allows early publication and potential replay of Random Proximity Identifiers, impacting privacy.","url":"https://insights.sbomify.com/GHSA-3wxm-m9m4-cprj/"}