Skip to content

Commit 85ef912

Browse files
committed
CVE-2024-6387 use custom apt repo
1 parent a30ef85 commit 85ef912

File tree

7 files changed

+25
-0
lines changed

7 files changed

+25
-0
lines changed

etc/kayobe/apt.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ stackhpc_apt_repositories:
5656
suites: "{{ ansible_facts.distribution_release }}-security"
5757
components: main restricted universe multiverse
5858
architecture: amd64
59+
- url: "{{ stackhpc_repo_ubuntu_jammy_cve_2024_6387_url }}"
60+
suites: "pulp"
61+
components: upload
62+
architecture: amd64
63+
trusted: yes
5964
- url: "{{ stackhpc_repo_docker_ce_ubuntu_url }}"
6065
suites: "{{ ansible_facts.distribution_release }}"
6166
components: stable

etc/kayobe/environments/ci-aio/stackhpc-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ stackhpc_repo_ubuntu_focal_version: "{{ stackhpc_pulp_repo_ubuntu_focal_version
5050
stackhpc_repo_ubuntu_focal_security_version: "{{ stackhpc_pulp_repo_ubuntu_focal_security_version }}"
5151
stackhpc_repo_ubuntu_jammy_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_version }}"
5252
stackhpc_repo_ubuntu_jammy_security_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_security_version }}"
53+
stackhpc_repo_ubuntu_jammy_cve_2024_6387_version: ""
5354
stackhpc_repo_docker_ce_ubuntu_version: "{{ stackhpc_pulp_repo_docker_ce_ubuntu_version }}"
5455
stackhpc_repo_centos_stream_9_nfv_openvswitch_version: "{{ stackhpc_pulp_repo_centos_stream_9_nfv_openvswitch_version }}"
5556
stackhpc_repo_centos_stream_9_openstack_yoga_version: "{{ stackhpc_pulp_repo_centos_stream__openstack_yoga_version }}"

etc/kayobe/environments/ci-builder/stackhpc-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ stackhpc_repo_ubuntu_focal_version: "{{ stackhpc_pulp_repo_ubuntu_focal_version
7373
stackhpc_repo_ubuntu_focal_security_version: "{{ stackhpc_pulp_repo_ubuntu_focal_security_version }}"
7474
stackhpc_repo_ubuntu_jammy_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_version }}"
7575
stackhpc_repo_ubuntu_jammy_security_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_security_version }}"
76+
stackhpc_repo_ubuntu_jammy_cve_2024_6387_version: ""
7677
stackhpc_repo_docker_ce_ubuntu_version: "{{ stackhpc_pulp_repo_docker_ce_ubuntu_version }}"
7778
stackhpc_repo_centos_stream_9_nfv_openvswitch_version: "{{ stackhpc_pulp_repo_centos_stream_9_nfv_openvswitch_version }}"
7879
stackhpc_repo_centos_stream_9_openstack_yoga_version: "{{ stackhpc_pulp_repo_centos_stream_9_openstack_yoga_version }}"

etc/kayobe/environments/ci-multinode/stackhpc-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ stackhpc_repo_ubuntu_focal_version: "{{ stackhpc_pulp_repo_ubuntu_focal_version
4747
stackhpc_repo_ubuntu_focal_security_version: "{{ stackhpc_pulp_repo_ubuntu_focal_security_version }}"
4848
stackhpc_repo_ubuntu_jammy_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_version }}"
4949
stackhpc_repo_ubuntu_jammy_security_version: "{{ stackhpc_pulp_repo_ubuntu_jammy_security_version }}"
50+
stackhpc_repo_ubuntu_jammy_cve_2024_6387_version: ""
5051
stackhpc_repo_docker_ce_ubuntu_version: "{{ stackhpc_pulp_repo_docker_ce_ubuntu_version }}"
5152
stackhpc_repo_centos_stream_9_nfv_openvswitch_version: "{{ stackhpc_pulp_repo_centos_stream_9_nfv_openvswitch_version }}"
5253
stackhpc_repo_centos_stream_9_openstack_yoga_version: "{{ stackhpc_pulp_repo_centos_stream_9_openstack_yoga_version }}"

etc/kayobe/pulp.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,14 @@ stackhpc_pulp_deb_repos:
123123
distributions: "jammy-security"
124124
required: "{{ stackhpc_pulp_sync_ubuntu_jammy | bool }}"
125125

126+
- name: "Ubuntu jammy CVE-2024-6387"
127+
url: "{{ stackhpc_release_pulp_content_url }}/ubuntu-jammy-cve-2024-6387/"
128+
distribution_name: "ubuntu-jammy-cve-2024-6387-"
129+
base_path: "ubuntu-jammy-cve-2024-6387/"
130+
components: "upload"
131+
distributions: "pulp"
132+
required: "{{ stackhpc_pulp_sync_ubuntu_jammy | bool }}"
133+
126134
# Third-party repositories
127135
- name: "Docker CE for Ubuntu"
128136
url: "{{ stackhpc_release_pulp_content_url }}/docker-ce/ubuntu/{{ stackhpc_pulp_repo_docker_ce_ubuntu_version }}"

etc/kayobe/stackhpc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ stackhpc_repo_ubuntu_jammy_version: "{{ stackhpc_repo_distribution }}"
4747
stackhpc_repo_ubuntu_jammy_security_url: "{{ stackhpc_repo_mirror_url }}/pulp/content/ubuntu/jammy-security/{{ stackhpc_repo_ubuntu_jammy_security_version }}"
4848
stackhpc_repo_ubuntu_jammy_security_version: "{{ stackhpc_repo_distribution }}"
4949

50+
# Ubuntu jammy CVE-3034-6287
51+
stackhpc_repo_ubuntu_jammy_cve_2024_6387_url: "{{ stackhpc_repo_mirror_url }}/pulp/content/ubuntu-jammy-cve-2024-6387/{{ stackhpc_repo_ubuntu_jammy_cve_2024_6387_version }}"
52+
stackhpc_repo_ubuntu_jammy_cve_2024_6387_version: "{{ stackhpc_repo_distribution }}"
53+
5054
# Ubuntu Cloud Archive
5155
stackhpc_repo_ubuntu_cloud_archive_url: "{{ stackhpc_repo_mirror_url }}/pulp/content/ubuntu-cloud-archive/{{ stackhpc_repo_ubuntu_cloud_archive_version }}"
5256
stackhpc_repo_ubuntu_cloud_archive_version: "{{ stackhpc_repo_distribution }}"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
security:
3+
- |
4+
Adds a custom Apt repository to address `CVE-2024-6387
5+
<https://ubuntu.com/security/CVE-2024-6387`__ in OpenSSH.

0 commit comments

Comments
 (0)