public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gpsd] f44: fix another command injection in gpsprof (CVE-2026-60122)
@ 2026-10-26 11:09 Miroslav Lichvar
0 siblings, 0 replies; only message in thread
From: Miroslav Lichvar @ 2026-10-26 11:09 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gpsd
Branch : f44
Commit : 4f0dc2edb03884b70502ff530b817ef8f84fa4a9
Author : Miroslav Lichvar <mlichvar@redhat.com>
Date : 2026-10-26T10:54:14+01:00
Stats : +38/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/gpsd/c/4f0dc2edb03884b70502ff530b817ef8f84fa4a9?branch=f44
Log:
fix another command injection in gpsprof (CVE-2026-60122)
---
diff --git a/gpsd-cve-2026-60122.patch b/gpsd-cve-2026-60122.patch
new file mode 100644
index 0000000..0974247
--- /dev/null
+++ b/gpsd-cve-2026-60122.patch
@@ -0,0 +1,36 @@
+commit 5a9c44a42136b9bb98d460a8a716e9fd344a8d93
+Author: Gary E. Miller <gem@rellim.com>
+Date: Mon Jul 20 20:12:16 2026 -0700
+
+ clients/gpsprof.py.in: ensure sats.used is boolean. Issue 406
+
+ Prevfent command injection by sates.used. Force to boolean.
+
+diff --git a/clients/gpsprof.py.in b/clients/gpsprof.py.in
+index e91367ee3..07123d417 100644
+--- a/clients/gpsprof.py.in
++++ b/clients/gpsprof.py.in
+@@ -334,8 +334,11 @@ class spaceplot(plotter):
+ # get sat used count
+ sats_used = 0
+ for sat in self.session.satellites:
+- if sat.used:
++ if sat.used is True:
+ sats_used += 1
++ else:
++ # ensure it is boolean.
++ sat.used = False
+
+ if 'altHAE' not in self.session.data:
+ self.session.data['altHAE'] = gps.NaN
+@@ -783,6 +786,10 @@ class polarplot(plotter):
+ used += 1
+ if 'polarunused' == self.name:
+ continue
++ else:
++ # ensure it is boolean.
++ sat['used'] = False;
++
+ if (('polarused' == self.name and
+ sat['used'] is False)):
+ continue
diff --git a/gpsd.spec b/gpsd.spec
index 20a32ff..372c092 100644
--- a/gpsd.spec
+++ b/gpsd.spec
@@ -36,6 +36,8 @@ Source11: gpsd.sysconfig
Patch1: gpsd-apistatus.patch
# Fix command injection in gpsprof
Patch2: gpsd-cve-2026-58459.patch
+# Fix another command injection in gpsprof
+Patch3: gpsd-cve-2026-60122.patch
BuildRequires: gcc
BuildRequires: dbus-devel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-26 11:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-26 11:09 [rpms/gpsd] f44: fix another command injection in gpsprof (CVE-2026-60122) Miroslav Lichvar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox