You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add support for highlighting CVEs referenced in changelog entries
Some changelog entries can be very long and hard to manually parse, especially when looking for references to CVEs in kernel changelogs.
This commits adds three new arguments. All three are flags.
`--highlight-cves`:
Highlight the CVEs referenced in each individual changelog entry
`--highlight-cves-only`:
Highlight the CVEs referenced in each individual changelog entry
but do NOT show the rest of the content of the changelog entry
`--highlight-cves-show-cve-description`:
When highlighting CVEs, show the CVE description
`--highlight-cves` or `--highlight-cve-only` must also be used for this to take affect.
Examples added to Readme too.
CVEs addressed/mitigated in linux-azure version 5.4.0-1094.100:
75
+
CVE-2022-2602 (high priority): David Bouman and Billy Jheng Bing Jhong discovered that a race condition existed in the io_uring subsystem in the Linux kernel, leading to a use- after-free vulnerability. A local attacker could use this to cause a denial of service (system crash) or possibly execute arbitrary code.
76
+
CVE-2022-41674 (medium priority): Sönke Huster discovered that an integer overflow vulnerability existed in the WiFi driver stack in the Linux kernel, leading to a buffer overflow. A physically proximate attacker could use this to cause a denial of service (system crash) or possibly execute arbitrary code.
77
+
CVE-2022-42721 (medium priority): Sönke Huster discovered that the WiFi driver stack in the Linux kernel did not properly handle BSSID/SSID lists in some situations. A physically proximate attacker could use this to cause a denial of service (infinite loop).
78
+
CVE-2022-42720 (medium priority): Sönke Huster discovered that the WiFi driver stack in the Linux kernel did not properly perform reference counting in some situations, leading to a use-after-free vulnerability. A physically proximate attacker could use this to cause a denial of service (system crash) or possibly execute arbitrary code.
79
+
80
+
[ Ubuntu: 5.4.0-131.147 ]
81
+
82
+
* CVE-2022-2602
83
+
- SAUCE: io_uring/af_unix: defer registered files gc to io_uring release
84
+
- SAUCE: io_uring/af_unix: fix memleak during unix GC
85
+
* CVE-2022-41674
86
+
- SAUCE: wifi: cfg80211: fix u8 overflow in
87
+
cfg80211_update_notlisted_nontrans()
88
+
- SAUCE: wifi: cfg80211/mac80211: reject bad MBSSID elements
89
+
- SAUCE: wifi: cfg80211: ensure length byte is present before access
90
+
- SAUCE: wifi: mac80211_hwsim: avoid mac80211 warning on bad rate
91
+
- SAUCE: wifi: cfg80211: update hidden BSSes to avoid WARN_ON
92
+
* CVE-2022-42721
93
+
- SAUCE: wifi: cfg80211: avoid nontransmitted BSS list corruption
94
+
* CVE-2022-42720
95
+
- SAUCE: wifi: cfg80211: fix BSS refcounting bugs
96
+
97
+
-- Thadeu Lima de Souza Cascardo <cascardo@canonical.com> Sun, 16 Oct 2022 23:55:23 -0300
98
+
99
+
100
+
If you wish to use `ubuntu-package-changelog` to only show referenced CVEs in a changelog for
CVEs addressed/mitigated in linux-azure version 5.4.0-1094.100:
107
+
CVE-2022-2602 (high priority)
108
+
CVE-2022-41674 (medium priority)
109
+
CVE-2022-42721 (medium priority)
110
+
CVE-2022-42720 (medium priority)
111
+
112
+
-- Thadeu Lima de Souza Cascardo <cascardo@canonical.com> Sun, 16 Oct 2022 23:55:23 -0300
113
+
114
+
This `--highlight-cves-only` flag can be used in conjunction with `--highlight-cves-show-cve-description` to only show referenced CVEs in a changelog and also include the CVE description. Eg::
CVEs addressed/mitigated in linux-azure version 5.4.0-1094.100:
120
+
CVE-2022-2602 (high priority): David Bouman and Billy Jheng Bing Jhong discovered that a race condition existed in the io_uring subsystem in the Linux kernel, leading to a use- after-free vulnerability. A local attacker could use this to cause a denial of service (system crash) or possibly execute arbitrary code.
121
+
CVE-2022-41674 (medium priority): Sönke Huster discovered that an integer overflow vulnerability existed in the WiFi driver stack in the Linux kernel, leading to a buffer overflow. A physically proximate attacker could use this to cause a denial of service (system crash) or possibly execute arbitrary code.
122
+
CVE-2022-42721 (medium priority): Sönke Huster discovered that the WiFi driver stack in the Linux kernel did not properly handle BSSID/SSID lists in some situations. A physically proximate attacker could use this to cause a denial of service (infinite loop).
123
+
CVE-2022-42720 (medium priority): Sönke Huster discovered that the WiFi driver stack in the Linux kernel did not properly perform reference counting in some situations, leading to a use-after-free vulnerability. A physically proximate attacker could use this to cause a denial of service (system crash) or possibly execute arbitrary code.
124
+
125
+
-- Thadeu Lima de Souza Cascardo <cascardo@canonical.com> Sun, 16 Oct 2022 23:55:23 -0300
0 commit comments