[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1108921: marked as done (bookworm-pu: package kubernetes/1.20.5+really1.20.2-1.1+deb12u1)



Your message dated Sat, 06 Sep 2025 12:14:50 +0100
with message-id <ee4c0876608d99eb3f8b333b556fbd92e7a652eb.camel@adam-barratt.org.uk>
and subject line Closing p-u requests for fixes included in 12.12
has caused the Debian Bug report #1108921,
regarding bookworm-pu: package kubernetes/1.20.5+really1.20.2-1.1+deb12u1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1108921: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108921
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: bookworm
X-Debbugs-Cc: kubernetes@packages.debian.org
Control: affects -1 + src:kubernetes
User: release.debian.org@packages.debian.org
Usertags: pu

[ Reason ]
Fix for CVE-2021-25743: kubectl (kubernetes-client) does not neutralize escape,
meta or control sequences contained in the raw data it outputs to a terminal.

This includes but is not limited to the unstructured string fields in objects
such as Events.

This vulnerability allows potential terminal escape sequence attacks that could
execute unintended terminal behavior when malicious input is rendered.

- Security Tracker: https://security-tracker.debian.org/tracker/CVE-2021-25743

[ Impact ]
Without this update, users remain vulnerable to terminal escape sequence
attacks when using kubectl (kubernetes-client).

Malicious input in Kubernetes objects could potentially execute unintended
terminal behavior, posing a security risk.

[ Tests ]
The patch includes comprehensive test coverage:
- Terminal escape character tests in tableprinter_test.go
- Custom column escape tests in customcolumn_test.go  
- Describe command escape tests in describe_test.go

All tests verify proper escaping of terminal special characters.

Additionally, I built and installed the package locally to verify that the
reproducible scenario described in
https://github.com/kubernetes/kubernetes/issues/101695 is fixed.

[ Risks ]
Low risk.
The changes are minimal and well-tested:
- Adds terminal character escaping functionality
- Modifies output formatting to use escape functions
- No breaking changes to functionality.

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
1. CVE-2021-25743.patch: Backports upstream fix for terminal escape sequences
   - Adds terminal.go with escaping functions
   - Updates tableprinter.go to escape output
   - Updates customcolumn.go and describe.go to use escaping
   - Includes tests

2. 0001-Hide-long-and-multiline-strings-when-printing.patch:
   - Adds string truncation for long/multiline strings in table output

3. 0002-Restore-ability-to-print-long-strings.patch:
   - Removes arbitrary 100-char limit while keeping newline truncation

[ Other info ]
This is a security update for a CVE affecting kubectl (kubernetes-client)
terminal output.

The patches are backported from upstream Kubernetes with manual adjustments
for version compatibility.

The kubectl events command referenced in the original upstream patch was not
present in 1.20.2, so those files were omitted from the backport.

--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 12.12

Hi,

Each of the updates referenced by these requests was included in
today's 12.12 point release for bookworm.

Regards,

Adam

--- End Message ---

Reply to: