Re: Pkg Audit and python3.12

From: Charlie Li <vishwin_at_freebsd.org>
Date: Tue, 01 Dec 2026 05:33:27 UTC
Dan Mahoney wrote:
> Hey there folks,
> 
> At ISC we're very agressive about running pkg audit on our systems, and...the default version of python having CVE's in it that upstream won't fix, stings.
> 
> The only reason python turns up in vuxml is because of some pop3/imap lib stuff, and the fix from python13 cleanly applies to it.  The python release engineers seem to not want to fix an active CVE in an older "security releases only" version because of POLA.
> 
> Would you consider perhaps making these two small (regex) patches a default option that people could turn off and build their own python if they're burned by this, if they're doing something imap/pop3 specific?
> No.

We are following what upstream CPython backports into the respective 
branches, without deviation. This is to stay consistent with what a 
Python user, regardless of operating system, would expect in a purely 
vanilla configuration. It also reduces the risk of us getting blamed for 
something that is not our problem, because we are a low-support-tier 
system in their eyes (which is yet another can of worms).

The imaplib backport to 3.12 is waiting on the submitter (different than 
the backports to 3.13, 3.14 and 3.15) to sign the Python Software 
Foundation's CLA, which is required before upstream considers any code 
submissions. As such, the submission is considered not reviewed and thus 
cannot be considered here either.

The poplib commit is not getting backported to any branch until they 
reconcile the RFC conformance issues. It was developed during the 3.15 
cycle so it is present in the 3.15 branch.

Note that unlike our base system, but somewhat similar to the Linux 
kernel project, every supported CPython branch has a different release 
engineer. This is why backports do not necessarily get reviewed and 
committed at similar times.

Further, while imaplib and poplib are part of the standard library, they 
do not constitute the CPython interpreter's fundamental operation.

-- 
Charlie Li
...nope, still don't have an exit line.