Description
The create_response function in server/server.c in Psensor before 1.1.4 allows Directory Traversal because it lacks a check for whether a file is under the webserver directory.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | psensor | 1.1.5-1 | — |
| Debian 13 | psensor | 1.1.5-1 | — |
| Debian 12 | psensor | 1.1.5-1 | — |
| Debian 7 | psensor | 0.6.2.17-2+deb7u1 | DLA-1361-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | psensor | No fix yet | — |
Advisories 1
- DLA-1361-1 psensor - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- [debian-lts-announce] 20180424 [SECURITY] [DLA 1361-1] psensor security update mailing-list
- http://git.wpitchoune.net/gitweb/?p=psensor.git%3Ba=blob%3Bf=NEWS
- http://git.wpitchoune.net/gitweb/?p=psensor.git%3Ba=commit%3Bh=8b10426dcc0246c1712a99460dd470dcb1cc4d9c
- http://git.wpitchoune.net/gitweb/?p=psensor.git%3Ba=commit%3Bh=48739caa745f9f8002e87af574f03e5dc6ae3447