Repository navigation
[1.4.11] - 2026-11-30
Changed
- A PyPI upload makes the project NORA's own — as
nora importalready did: once a project has been uploaded, the upstream's versions under its name are no longer listed or fetched, and its index lists only the files uploaded to NORA. To keep serving an upstream's versions of a name, do not upload under that name. See Security.
Fixed
- PyPI: a cached index and a cached download answer within
pypi.cached_index_waitwhen the upstream is silent (#1356) — with an upstream that did not answer,/simple/<name>/waited for it twice (proxy_timeoutand a retry, about 61 s with the default 30 s) before serving the files NORA holds, souv sync(30 s) and pip (15 s) gave up although the packages were cached; a download of a cached file withserver.trust_upstream_dates = truewaited the same for the dates. When the request has files of its own to answer with, every upstream is now asked at once and once, and the request waits for them at mostpypi.cached_index_wait(NORA_PYPI_CACHED_INDEX_WAIT, default 10 s, never more thanproxy_timeout); a silent mirror no longer holds back one that answers, and a dates map is stored only when every upstream answered. Without a local copy the upstreams are asked as before.
Security
- A Maven artifact that failed its integrity check was replaced by the upstream's bytes (GHSA-x5jx-6r5j-hjj9) — when the stored bytes of a hosted Maven artifact no longer matched their recorded digest, the read was treated as a cache miss: with a proxy configured, the same coordinates were fetched from the upstream, served, and written over the operator's artifact and its digest. Such a read is now answered
500; the upstream is not asked and the stored artifact and its pin are kept. - A ranged download of a raw file skipped the integrity check (GHSA-x5jx-6r5j-hjj9) — a request with
Rangefor a raw file whose stored bytes no longer matched their recorded digest was answered206with those bytes, and a mismatch on the streaming path was not counted in the integrity-failure metric. A range of a pinned raw file is now cut from one read of the whole file that passed its pin, and a file that fails it sends no byte (500); a pinned file larger thanraw.max_file_sizeignores the range and is sent whole through the streaming check. A streamed mismatch counts innora_storage_operations_total{operation="get",status="integrity_fail"}. - The OIDC namespace scope of a Docker push was checked on a name other than the one written (GHSA-x5jx-6r5j-hjj9) — a push was judged on the repository name as written in the request, while it was stored under the repository's canonical local name, so a scope that admitted a spelling with a registry-host prefix admitted a push into a repository it refused under its plain name. A write is now allowed only when the scope admits both the name as written and the repository the write lands in, on every Docker write route.
- Completing a Docker upload removed the session before checking its repository (GHSA-x5jx-6r5j-hjj9) — the final
PUTof a blob upload took the session out of its table, and on a repository mismatch deleted its temporary file, before comparing the session's repository with the request's, so a client with push rights anywhere that knew another client's upload ID could abort that upload. The session is now taken out only for its own repository, under the same lock, as a cancel already did; a completion under another repository answers400and leaves the session in place, and a digest the upload cannot verify is refused before the session is touched. - Web UI token routes answered 500 naming an internal type when authentication is off (GHSA-x5jx-6r5j-hjj9) — with authentication disabled (the default) they now answer
404("authentication is disabled"). - An uploaded PyPI project was merged with the upstream's files of the same name (GHSA-x5jx-6r5j-hjj9) — a project uploaded with
twine uploadwas stored file by file but not made NORA's own, so its simple index (HTML and JSON) listed the uploaded files together with whatever an upstream listed under the same name, andpip install <name>without a pin installed a higher upstream version. Anyone who could publish to the upstream (for pypi.org, anyone) could have their package installed under an operator's internal name. An upload now makes the project NORA's own before its first file is stored, asnora importdoes: its index lists only its own files, no upstream is asked for it, and a proxy-cache write already in flight writes nothing into it. Projects uploaded before the upgrade become NORA's own at their next upload; until then list them incuration.internal_namespaces. See Changed. - Artifacts of an authenticated feed were marked cacheable by shared caches (GHSA-x5jx-6r5j-hjj9) — immutable artifacts of every format were answered
Cache-Control: public, max-age=31536000, immutablealso when reading requires authentication; under RFC 9111publiclets a shared cache (reverse proxy, CDN) store a response to a request withAuthorizationand serve it to anyone. A response is nowprivate(keepingmax-age,immutableand the other directives a private cache uses, droppingpublicands-maxage) when the request carried credentials or a curation bypass token, or when reading requires authentication and the request was not served as an anonymous read. Purge what a shared cache already stored: upgrading does not withdraw copies it kept.
Upgrading from 1.4.10 or earlier
1.4.11 fixes the issues of the security advisory GHSA-x5jx-6r5j-hjj9. After upgrading:
- A shared cache in front of NORA (reverse proxy, CDN) that stored artifacts of a feed that requires authentication still holds them as
public: purge it. Upgrading does not withdraw what a cache kept, and a rollback to an earlier version lets it store them again. - PyPI uploads: a project uploaded to NORA is now NORA's own, as
nora importalready made it: its index lists only its own files and the upstream's versions under its name are no longer listed or fetched. A project uploaded before the upgrade becomes NORA's own at its next upload; until then, list it incuration.internal_namespaces(NORA_CURATION_INTERNAL_NS).
Several NORA processes writing to one store are not covered by the guarantees above: publishing locks are held within one process. Run one writing replica.
Known issue
With S3-compatible storage under a load the object store cannot serve, throughput collapses instead of levelling off (#1334), as in 1.4.10. Workaround, measured: a connection limit with a queue in front of the store, e.g. HAProxy with server … maxconn 256; see the production guide. Planned for 1.5.
Under a load beyond what one machine serves (32 000 to 100 000 requests per second on local storage, on the test box), peak throughput of 1.4.11 is 3–9 % below 1.4.10; at 16 000 requests per second for ten minutes the two are the same, with no error. Investigated for 1.4.12.
Install
# x86_64
curl -LO https://github.com/getnora-io/nora/releases/download/v1.4.11/nora-linux-amd64
chmod +x nora-linux-amd64
sudo mv nora-linux-amd64 /usr/local/bin/nora
# ARM64 (Apple Silicon, Graviton, Ampere)
curl -LO https://github.com/getnora-io/nora/releases/download/v1.4.11/nora-linux-arm64
chmod +x nora-linux-arm64
sudo mv nora-linux-arm64 /usr/local/bin/noraDocker
docker pull getnora/nora:1.4.11| Variant | Image | Platforms |
|---|---|---|
| Alpine (default) | getnora/nora:1.4.11 |
amd64, arm64 |
| RED OS | getnora/nora:1.4.11-redos |
amd64 |
| Astra Linux SE | getnora/nora:1.4.11-astra |
amd64 |
| GHCR | ghcr.io/getnora-io/nora:1.4.11 |
amd64, arm64 |
DEB / RPM
# Debian / Ubuntu / Astra Linux (amd64)
curl -LO https://github.com/getnora-io/nora/releases/download/v1.4.11/nora-amd64.deb
sudo dpkg -i nora-amd64.deb
# RHEL / Fedora / RED OS (amd64)
curl -LO https://github.com/getnora-io/nora/releases/download/v1.4.11/nora-amd64.rpm
sudo rpm -i nora-amd64.rpmChangelog
See CHANGELOG.md