Advisory

GHSA-3wxm-m9m4-cprj

Also known as: GO-2022-0381

Summary

Import of incorrectly embargoed keys could cause early publication

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-05-21 16:24 UTC
Modified
2024-08-21 14:57 UTC

Affected packages and fixes

github.com/google/exposure-notifications-server

Go · All systems

Affected

  • introduced 0, fixed 0.18.3 (semver)

Fixed versions

0.18.3

Fix

github.com/google/exposure-notifications-server

Go · All systems

Affected

  • introduced 0.19.0, fixed 0.19.2 (semver)

Fixed versions

0.19.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences