Skip to content

Audarr 0.9.2 — security & safety

Choose a tag to compare

@apristel apristel released this 29 Nov 08:14
· 15 commits to main since this release

A security and safety release — everyone should update. No new settings, nothing to change: install it and you're done.

🔒 Security

  • Home-network detection can't be spoofed. Audarr trusts proxy headers (X-Forwarded-For, X-Real-IP, CF-Connecting-IP) only when the connection comes from a proxy on your own network, and counts a request as local only if every address in it is local. Before, a forged header could make an internet visitor look like they were at home when no password was set, or with Authentication: not for local addresses.
  • Cross-site requests are refused. Changes to Audarr must be same-site JSON (or a zip upload), or carry your API key. A web page you happen to visit can no longer quietly post a form to the Audarr on your network.
  • Sign-in lockout: 10 failed attempts from one address in 15 minutes locks that address out until the window passes. Failed sign-ins are logged.
  • Changing the password or username signs out every other session. The browser you made the change from stays signed in.
  • Request size limits, strict backup file names, proper static-file path checks.

🛡️ Safer with your files

  • After a move-import, a download folder is deleted only if what's left is release leftovers (nfo, sfv, covers, playlists, par2…). Before, any folder with no audio left could go. If it was pointed at a shared downloads folder, that could include other apps' files.
  • Delete artist + files refuses when the artist's folder is a root folder, isn't inside one, or is shared with another artist.
  • Wrong Files › Reconcile never removes the artist folder or a root folder as "the album folder".

🐛 Fixed

  • Cancelling a rip while a track was uploading caused a server error. The upload now stops cleanly.
  • Two searches for the same album at once no longer fail with album already has an active download.
  • Creating a root folder, profile, indexer, client, mapping or notification with a missing field now says which field. Unknown ids return 404 instead of a silent success.
  • Manual Import checks that the album and path exist. Testing a download client of an unknown type gives a clear error.
  • Phone: yes/no questions are a small card instead of a full screen, and long titles wrap.
  • RSS sync runs at most every 10 minutes and missing-album search at most hourly, so indexers aren't hammered. One bad setting can't stop the scheduler.

Behind the scenes: 15 new automated tests (HTTP-level security and file-safety), and every page and dialog re-checked on a phone.

⬆️ Upgrade

Docker docker pull ghcr.io/apristel/audarr:0.9.2 (or :latest) and recreate the container
Unraid Check for updates on the Audarr container
Windows Run AudarrSetup-0.9.2.exe over your existing install. Settings and library are kept. It isn't code-signed yet, so SmartScreen may ask: More info → Run anyway
Ripping stations No change: AudarrRipper.exe 0.9.4

📦 Downloads

File What SHA-256
AudarrSetup-0.9.2.exe Windows installer 6947061e30511eeb5f00968dc1bbe0e288b1039a21a9b30d0437ee6762693cab
AudarrRipper.exe Ripping station (0.9.4, unchanged) c0faf7ed87aaf3bf10c21b9faa32a54859f9882d46ce6067b94ed2d12fb393f6
SHA256SUMS.txt Checksums

Full changelog: CHANGELOG.md · v0.9.1...v0.9.2