GHSA-3wxm-m9m4-cprj: Github.com/google/exposure notifications server Import Of Incorrectly Embargoed Keys Vulnerability
MODERATEGHSA-3wxm-m9m4-cprj is a MODERATE import of incorrectly embargoed keys vulnerability (General Security Weakness) affecting Github.com/google/exposure notifications server libraries in the Go ecosystem. The issue involves import of incorrectly embargoed keys could cause early publication. Remediation is available by upgrading affected packages to version 0.18.3, 0.19.2.
GHSA-3wxm-m9m4-cprj at a Glance
How to Fix GHSA-3wxm-m9m4-cprj
To remediate this vulnerability, upgrade all affected Github.com/google/exposure notifications server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/google/exposure-notifications-server to 0.18.3
Upgrade github.com/google/exposure-notifications-server to 0.19.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/google/exposure-notifications-server
How to Check if You Are Affected
To determine whether your application is affected by GHSA-3wxm-m9m4-cprj, inspect your project dependencies for Github.com/google/exposure notifications server:
inspect dependencies for github.com/google/exposure-notifications-server
Analyze the terminal output to locate any version of Github.com/google/exposure notifications server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.18.3), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Github.com/google/exposure notifications server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-3wxm-m9m4-cprj Affected Github.com/google/exposure notifications server Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/google/exposure-notifications-server
|
Go |
< 0.18.3
|
0.18.3
|
|
github.com/google/exposure-notifications-server
|
Go |
≥ 0.19.0
< 0.19.2
|
0.19.2
|
References
Frequently Asked Questions
What is GHSA-3wxm-m9m4-cprj?
Which Github.com/google/exposure notifications server versions are affected?
What version fixes GHSA-3wxm-m9m4-cprj?
Is github.com/google/exposure-notifications-server affected?
What CWE is associated with GHSA-3wxm-m9m4-cprj?
How can I check Go dependencies for GHSA-3wxm-m9m4-cprj?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3wxm-m9m4-cprj",
"modified" : "2021-05-20T20:24:22Z",
"published" : "2021-05-21T16:24:44Z",
"aliases" : [ ],
"summary" : "Import of incorrectly embargoed keys could cause early publication",
"details" : "### 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)",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/google/exposure-notifications-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.18.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/google/exposure-notifications-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.19.0"
}, {
"fixed" : "0.19.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/google/exposure-notifications-server/security/advisories/GHSA-3wxm-m9m4-cprj"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-20T20:24:22Z",
"nvd_published_at" : null
}
}