Advisory

GHSA-m6m5-pp4g-fcc8

Also known as: GO-2022-0374

Summary

S3 storage write is not aborted on errors leading to unbounded memory usage

Details

Impact

Anyone using storage.blob.s3 introduced in 0.5.0 with storage.imapsql.

storage.imapsql local_mailboxes {
  ...
  msg_store s3 {
    ...
  }
}

Patches

The relevant commit is pushed to master and will be included in the 0.5.1 release.

No special handling of the issue has been done due to the small amount of affected users.

Workarounds

None.

References

  • Original report: https://github.com/foxcpp/maddy/issues/395
  • Fix: https://github.com/foxcpp/maddy/commit/07c8495ee4394fabbf5aac4df8aebeafb2fb29d8

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-10-06 17:47 UTC
Modified
2024-08-21 14:57 UTC

Affected packages and fixes

github.com/foxcpp/maddy

Go · All systems

Affected

  • introduced 0, fixed 0.5.1 (semver)

Fixed versions

0.5.1

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