The second maintenance release of the 5.19 series of NAV is now out,
with security fixes for three vulnerabilities in the report system. We
advise you upgrade *as soon as possible*.
The source code is available for download at GitHub [1].
New packages for Debian 12 (Bookworm) and 13 (Trixie) are available in
our APT repository [2].
## Security
- Fixed a SQL injection vulnerability in the report subsystem, where
filter and sort fields from a report URL reached the SQL query
unescaped. These fields are now quoted as column names; see the
release notes for the behaviour change this implies. (GHSA-
vq8x-6j3p-qqj2 [3])
- Fixed a denial-of-service vulnerability in the report subsystem, where
a report name in the URL was compiled as a regular expression; a
crafted name could raise an error or consume excessive CPU. The name
is now matched literally. (GHSA-c365-jj25-8rh9 [4])
- Fixed cross-site scripting vulnerabilities in the report subsystem.
Report cell data, including request-supplied extra column names,
reached the browser unescaped, and request-supplied uri_/url_
parameters could inject javascript: links. Cell data is now HTML-
escaped, and report links and extra columns are taken only from report
configuration. See the release notes for the behaviour change this
implies. (GHSA-8gqp-wvmf-4hjj [5])
## Fixed
- Made SeedDB show a more readable error message when checking
connectivity of management profiles that have no connectivity check
(#3275)
- Sensor graphs in the room sensors tab and in the sensor dashboard
widget now show their axes and range slider correctly when the page
loads. (#3409)
- Fixed the audit log recording a copied IP device as an edit of the
original, instead of as a newly created device" (#4017)
- Fixed dashboards being allowed to have empty or whitespace-only names.
Existing dashboards with blank names are renamed to "New dashboard" on
upgrade. (#4061)
- Fixed widgets rendering blank when they fail to load (#4164)
- Fixed status widget showing blank when the default admin user was
locked/deactivated (#4165)
- Fixed showing insecure password banner on accounts from REMOTE USER
when password is empty (#4172)
- Dashboard widgets using ajax to refresh no longer refresh twice as
often after being edited and saved. (#4199)
## Release notes
We always advise you to have a look at NAV's accompanying release notes
[6] before upgrading.
Happy NAVing everyone!
## Links
[1] https://github.com/Uninett/nav/releases
[2] https://nav.uninett.no/install-instructions/#debian
[3] https://github.com/Uninett/nav/security/advisories/GHSA-vq8x-6j3p-qqj2
[4] https://github.com/Uninett/nav/security/advisories/GHSA-c365-jj25-8rh9
[5] https://github.com/Uninett/nav/security/advisories/GHSA-8gqp-wvmf-4hjj
[6] https://nav.readthedocs.io/en/latest/release-notes.html#nav-5-19
--
Best regards
Morten Brekkevold
Senior engineer, PA Campus networks
Phone: (+47) 735 57 802
Sikt – Norwegian Agency for Shared Services in Education and Research
www.sikt.no