Skip to content

Remove inetutils-telnet from legacy Ubuntu OCI due to CVE-2021-40491#38503

Merged
reedloden merged 1 commit intomasterfrom
reed/remove-inetutils-telnet
Feb 21, 2024
Merged

Remove inetutils-telnet from legacy Ubuntu OCI due to CVE-2021-40491#38503
reedloden merged 1 commit intomasterfrom
reed/remove-inetutils-telnet

Conversation

@reedloden
Copy link
Copy Markdown
Contributor

Ubuntu only fixed CVE-2021-40491 in their paid ESM offering (as inetutils is part of universe, not main), and it's causing security scanners to complain.

While the recommended option is to move to our distroless OCIs which do not have this package installed at all (and are updated daily), an easy fix is just to remove inetutils-telnet from the image (as netcat is already included).

References:

changelog: Remove telnet from legacy Ubuntu OCI due to CVE-2021-40491. Use nc instead.

Ubuntu only fixed CVE-2021-40491 in their paid ESM offering (as `inetutils` is
part of `universe`, not `main`), and it's causing security scanners to complain.

While the recommended option is to move to our distroless OCIs which do
not have this package installed at all (and are updated daily), an easy fix is
just to remove `inetutils-telnet` from the image (as `netcat` is already included).

References:
* https://ubuntu.com/security/CVE-2021-40491
* https://ubuntu.com/security/notices/USN-5177-1
* https://ubuntu.com/security/esm

changelog: Remove `telnet` from legacy Ubuntu OCI due to CVE-2021-40491. Use `nc` instead.
@reedloden reedloden enabled auto-merge February 21, 2024 15:58
@reedloden reedloden added this pull request to the merge queue Feb 21, 2024
Merged via the queue into master with commit 15c2aab Feb 21, 2024
@reedloden reedloden deleted the reed/remove-inetutils-telnet branch February 21, 2024 16:19
@public-teleport-github-review-bot
Copy link
Copy Markdown

@reedloden See the table below for backport results.

Branch Result
branch/v13 Create PR
branch/v14 Create PR
branch/v15 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security Security Issues size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants