diff --git a/SPECS/cloud-init/CVE-2020-8632.patch b/SPECS/cloud-init/CVE-2020-8632.patch new file mode 100644 index 0000000000..483b4b6e55 --- /dev/null +++ b/SPECS/cloud-init/CVE-2020-8632.patch @@ -0,0 +1,11 @@ +--- a/cloudinit/config/cc_set_passwords.py ++++ b/cloudinit/config/cc_set_passwords.py +@@ -220,7 +220,7 @@ + raise errors[-1] + + +-def rand_user_password(pwlen=9): ++def rand_user_password(pwlen=20): + return util.rand_str(pwlen, select_from=PW_SET) + + # vi: ts=4 expandtab diff --git a/SPECS/cloud-init/cloud-init.spec b/SPECS/cloud-init/cloud-init.spec index bbbf5f4804..9cf224245d 100644 --- a/SPECS/cloud-init/cloud-init.spec +++ b/SPECS/cloud-init/cloud-init.spec @@ -2,7 +2,7 @@ Name: cloud-init Version: 19.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Cloud instance init scripts Group: System Environment/Base License: GPLv3 @@ -23,6 +23,7 @@ Patch6: systemd-resolved-config.patch Patch7: cloud-init-azureds.patch Patch8: ds-identity.patch Patch9: CVE-2020-8631.patch +Patch10: CVE-2020-8632.patch BuildRequires: python3 BuildRequires: python3-libs @@ -141,6 +142,7 @@ rm -rf $RPM_BUILD_ROOT * Mon Oct 26 2020 Nicolas Ontiveros 19.1-5 - Use autosetup - Fix CVE-2020-8631 +- Fix CVE-2020-8632 * Mon Apr 13 2020 Emre Girgin 19.1-4 - Rename iproute2 to iproute. - License verified.