medium
Import of incorrectly embargoed keys could cause early publication
- Severity
- medium rating by GitHub
- Published
- Last changed
- Also known as
- GO-2022-0381
Description
Impact
If your installation is using the export-importer service, there is potential impact.
If your installation is not importing keys via the export-importer services, your installation is not impacted.
In 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.
This could allow allow for imported keys to be re-published before they have expired, allowing for potential replay of RPIs.
Patches
This is patched in v0.18.3 and all versions 0.19.2 and later.
Workarounds
Ensure that the servers you are importing export zip files from are not publishing keys too early.
References
n/a
For more information
If you have any questions or comments about this advisory
- Open an issue in exposure-notifications-server
- Email us at exposure-notifications-feedback@google.com
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/google/exposure-notifications-server (Go) | before 0.18.3, from 0.19.0 before 0.19.2 | GitHub Advisory Database, Go Vulnerability Database |
What each source says
GitHub Advisory Database
Impact
If your installation is using the export-importer service, there is potential impact.
If your installation is not importing keys via the export-importer services, your installation is not impacted.
In 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.
This could allow allow for imported keys to be re-published before they have expired, allowing for potential replay of RPIs.
Patches
This is patched in v0.18.3 and all versions 0.19.2 and later.
Workarounds
Ensure that the servers you are importing export zip files from are not publishing keys too early.
References
n/a
For more information
If you have any questions or comments about this advisory
- Open an issue in exposure-notifications-server
- Email us at exposure-notifications-feedback@google.com
Go Vulnerability Database
Import of incorrectly embargoed keys could cause early publication in github.com/google/exposure-notifications-server
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-3wxm-m9m4-cprj changed 2024-08-21 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0381 changed 2026-03-03 | CC-BY-4.0 |