Typing “aws” on the command line in Ubuntu does not offer the latest version of the AWS CLI

apt-get in ubuntu is recommending outdate software installations which

Teri Radichel
Bugs That Bite
Published in
2 min readDec 26, 2023

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

⚙️ Check out my series on Automating Cybersecurity Metrics | Code.

🔒 Related Stories: Bugs | AWS Security | Secure Code

💻 Free Content on Jobs in Cybersecurity | ✉️ Sign up for the Email List

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

When you type aws on Ubuntu (the version you get when you choose the defualt instance on AWS not Ubuntu Pro) it kindly recommends that you don’t have the AWS CLI installed but you can install one. It even gives you the commands to do it.

The problem is that the recommended software is often severly out of date. In the case of the AWS CLI I got version 1 recommendations that were way out of date when version 2 has abeen out for a long time. There were some older versions of the AWS CLI with serious vulnerabilities.

This should be fixed by whomever is responsible — AWS or Canonical? I don’t really know.

--

--

Teri Radichel
Bugs That Bite

CEO 2nd Sight Lab | Penetration Testing & Assessments | AWS Hero | Masters of Infosec & Software Engineering | GSE 240 etc | IANS | SANS Difference Makers Award