Skip to content

v0.3.2

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Nov 03:04
Immutable release. Only release title and notes can be modified.

ForgeMap 0.3.2

A security release, from a review of 0.3.1. Nothing needs changing on upgrade. If your ForgeMap has sign-in off, or runs from a config file or the quick-start variables, read the first two points.

Security

  • Sign-in could send you on to another site. A crafted /signin?next=... link no longer can: next is checked as a path on this page, and anything else goes to /.
  • A page on another site could read an open ForgeMap on your LAN (DNS rebinding). With sign-in on, it got nothing. With sign-in off, or with a config file or the quick-start variables, list the names ForgeMap should answer to, with the new setting below.
  • A hostile tracked repo, forge or F-Droid index could hold a CPU core or use gigabytes of memory: a huge CHANGELOG.md, a list answer far longer than asked for, millions of versions in an index, or a very long container label string. All are read in one pass now, with limits.
  • An F-Droid index address with a user, password or query is no longer shown in errors or the log. The F-Droid reader follows a redirect only on the same host.
  • Links from a forge that are not web links are no longer followed from the search palette or shown as links in toasts.
  • The two cache files in the data folder are now readable by their owner only.
  • Releases must pass govulncheck, restore no cache from another run, and the weekly scan also checks the binary inside the latest image.

New

  • Addresses this page answers to. An optional list of host names: in Settings, site.hosts in a config file, or FORGEMAP_HOSTS. A request at any other name gets status 421 and none of the page. IP addresses, localhost and names without a dot always work, and Settings refuses a list that would lock you out. Empty, the default, answers to any name, as before. See Addresses.
  • Signed build provenance. Check a binary or the ghcr.io image with gh attestation verify; the commands are in SECURITY.md.
  • SECURITY.md and CONTRIBUTING.md: how to report a vulnerability in private, and how changes are taken.

Changed

  • Change password says the feed key still works, and to press Make a new key if someone else may have used the account.
  • CHANGELOG.md and plan files are read for their first 1 MiB.
  • The F-Droid reader no longer uses HTTP_PROXY or HTTPS_PROXY.

Everything else is in the CHANGELOG.