🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Julien Cristau Mon, 23 Nov 2026 16:00
Bug#1154467: certdata2pem.py: path traversal via escaped CKA_LABEL (build-time arbitrary file creation)
#5769
Author: Julien Cristau
Date: Mon, 23 Nov 2026 16:00
40 lines
3235 bytes
Control: severity -1 minor
Control: tag -1 -security

On 11/19/26 13:45, Bassel Shurbaji wrote:
> Package: ca-certificates
> Version: 20260816+nmu1
> Severity: important
> Tags: security patch
>
> Dear Maintainer,
>
> mozilla/certdata2pem.py derives an output filename from each certificate's
> CKA_LABEL. It sanitises the label (replacing '/' with '_') *before* 
> decoding
> backslash escape sequences, so an escaped path separator in a label 
> survives
> sanitisation and is turned back into a real '/' afterwards. The result 
> is used
> directly as the path passed to open(), allowing the written file to 
> escape the
> intended output directory.
>
> This is an input-validation / defense-in-depth issue, not a remote
> vulnerability: certdata.txt is normally the trusted Mozilla NSS trust 
> store.
> It becomes relevant wherever certdata2pem.py is run on an 
> attacker-influenced
> certdata.txt (e.g. a derivative rebuilding the bundle from a 
> vendor/mirror blob,
> a pipeline fetching certdata over a weak channel, or a developer 
> running the
> tool on an untrusted file). I'm filing it as a hardening fix and am not
> requesting an embargo; a CVE is at your discretion.
>
I think calling this a security issue is quite a stretch. certdata.txt 
is not arbitrary/untrusted input, certainly not in the context of this 
package.

Cheers,
Julien
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads