Skip to contentSkip to conversation

package/ogre: add CPE

PATCH Applied Thomas Perale via buildroot 1 participant 7 messages Jul 6 – Jul 17

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 package/ogre: add CPE

Vulnerabilities such as [1][2] are assigned to the ogre package with the
cpe: ogre3d:ogre.

To correctly match against those vulnerabilities the CPE_ID_VERSION uses the version without the 'v' prepended.

[1] https://nvd.nist.gov/vuln/detail/CVE-2025-11014
[2] https://nvd.nist.gov/vuln/detail/CVE-2025-11017

---
 package/ogre/ogre.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/ogre/ogre.mk +4 -1
index f3e3fc1d8e..4f19b285be 100644
@@ -4,12 +4,15 @@
 #
 ################################################################################
 
-OGRE_VERSION = v14.4.1
+OGRE_VERSION_UPSTREAM = 14.4.1
+OGRE_VERSION = v$(OGRE_VERSION_UPSTREAM)
 OGRE_SITE = https://github.com/OGRECave/ogre
 OGRE_SITE_METHOD = git
 OGRE_LICENSE = MIT (main library, DeferredShadingMedia samples), Public Domain (samples and plugins)
 OGRE_LICENSE_FILES = LICENSE
 OGRE_INSTALL_STAGING = YES
+OGRE_CPE_ID_VENDOR = ogre3d
+OGRE_CPE_ID_VERSION = $(OGRE_VERSION_UPSTREAM)
 
 # Download with imgui submodule (https://github.com/ocornut/imgui
 OGRE_GIT_SUBMODULES = YES
Signature · 6 lines
2.55.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/3 package/open62541: fix CPE_ID_VERSION

Remove the prepended 'v' coming from the git version to correctly match with vulnerability such as [1]

[1] https://nvd.nist.gov/vuln/detail/CVE-2022-25761

---
 package/open62541/open62541.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/open62541/open62541.mk +3 -1
index 0d1abf724a..8d9c5e44bf 100644
@@ -4,7 +4,8 @@
 #
 ################################################################################
 
-OPEN62541_VERSION = v1.3.15
+OPEN62541_VERSION_UPSTREAM = 1.3.15
+OPEN62541_VERSION = v$(OPEN62541_VERSION_UPSTREAM)
 OPEN62541_SITE_METHOD = git
 OPEN62541_SITE = https://github.com/open62541/open62541.git
 OPEN62541_GIT_SUBMODULES = YES
@@ -12,6 +13,7 @@ OPEN62541_INSTALL_STAGING = YES
 OPEN62541_LICENSE = MPL-2.0
 OPEN62541_LICENSE_FILES = LICENSE
 OPEN62541_CPE_ID_VENDOR = open62541
+OPEN62541_CPE_ID_VERSION = $(OPEN62541_VERSION_UPSTREAM)
 
 # Force Release build to remove -Werror.
 # Don't use git describe to get the version number.
Signature · 6 lines
2.55.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH 2/3] package/open62541: fix CPE_ID_VERSION

In reply of:

Quoted 6 lines

Remove the prepended 'v' coming from the git version to correctly match with vulnerability such as [1]

[1] https://nvd.nist.gov/vuln/detail/CVE-2022-25761

Applied to 2025.02.x & 2026.05.x. Thanks

Quoted 33 lines
---
 package/open62541/open62541.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/open62541/open62541.mk +3 -1
index 0d1abf724a..8d9c5e44bf 100644
@@ -4,7 +4,8 @@
 #
 ################################################################################
 
-OPEN62541_VERSION = v1.3.15
+OPEN62541_VERSION_UPSTREAM = 1.3.15
+OPEN62541_VERSION = v$(OPEN62541_VERSION_UPSTREAM)
 OPEN62541_SITE_METHOD = git
 OPEN62541_SITE = https://github.com/open62541/open62541.git
 OPEN62541_GIT_SUBMODULES = YES
@@ -12,6 +13,7 @@ OPEN62541_INSTALL_STAGING = YES
 OPEN62541_LICENSE = MPL-2.0
 OPEN62541_LICENSE_FILES = LICENSE
 OPEN62541_CPE_ID_VENDOR = open62541
+OPEN62541_CPE_ID_VERSION = $(OPEN62541_VERSION_UPSTREAM)
 
 # Force Release build to remove -Werror.
 # Don't use git describe to get the version number.
Signature · 6 lines
2.55.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw

PATCH 3/3 package/python-web2py: fix CPE_ID_VERSION

In reply to Thomas Perale via buildroot

Remove the prepended 'v' coming from the git version to correctly match with vulnerability such as [1].

[1] https://nvd.nist.gov/vuln/detail/CVE-2023-45158

---
 package/python-web2py/python-web2py.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/python-web2py/python-web2py.mk +3 -1
index 5b473698a6..68847a2385 100644
@@ -4,7 +4,8 @@
 #
 ################################################################################
 
-PYTHON_WEB2PY_VERSION = v3.1.1
+PYTHON_WEB2PY_VERSION_UPSTREAM = 3.1.1
+PYTHON_WEB2PY_VERSION = v$(PYTHON_WEB2PY_VERSION_UPSTREAM)
 PYTHON_WEB2PY_SITE = https://github.com/web2py/web2py.git
 PYTHON_WEB2PY_SITE_METHOD = git
 PYTHON_WEB2PY_GIT_SUBMODULES = YES
@@ -12,6 +13,7 @@ PYTHON_WEB2PY_LICENSE = LGPL-3.0
 PYTHON_WEB2PY_LICENSE_FILES = LICENSE.web2py.txt
 PYTHON_WEB2PY_CPE_ID_VENDOR = web2py
 PYTHON_WEB2PY_CPE_ID_PRODUCT = web2py
+PYTHON_WEB2PY_CPE_ID_VERSION = $(PYTHON_WEB2PY_VERSION_UPSTREAM)
 PYTHON_WEB2PY_DEPENDENCIES = host-python3 python3 \
 	host-python-pydal host-python-yatl
 
Signature · 6 lines
2.55.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

Re: [Buildroot] [PATCH 3/3] package/python-web2py: fix CPE_ID_VERSION

In reply of:

Quoted 6 lines

Remove the prepended 'v' coming from the git version to correctly match with vulnerability such as [1].

[1] https://nvd.nist.gov/vuln/detail/CVE-2023-45158

Applied to 2025.02.x & 2026.05.x. Thanks

Quoted 33 lines
---
 package/python-web2py/python-web2py.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/python-web2py/python-web2py.mk +3 -1
index 5b473698a6..68847a2385 100644
@@ -4,7 +4,8 @@
 #
 ################################################################################
 
-PYTHON_WEB2PY_VERSION = v3.1.1
+PYTHON_WEB2PY_VERSION_UPSTREAM = 3.1.1
+PYTHON_WEB2PY_VERSION = v$(PYTHON_WEB2PY_VERSION_UPSTREAM)
 PYTHON_WEB2PY_SITE = https://github.com/web2py/web2py.git
 PYTHON_WEB2PY_SITE_METHOD = git
 PYTHON_WEB2PY_GIT_SUBMODULES = YES
@@ -12,6 +13,7 @@ PYTHON_WEB2PY_LICENSE = LGPL-3.0
 PYTHON_WEB2PY_LICENSE_FILES = LICENSE.web2py.txt
 PYTHON_WEB2PY_CPE_ID_VENDOR = web2py
 PYTHON_WEB2PY_CPE_ID_PRODUCT = web2py
+PYTHON_WEB2PY_CPE_ID_VERSION = $(PYTHON_WEB2PY_VERSION_UPSTREAM)
 PYTHON_WEB2PY_DEPENDENCIES = host-python3 python3 \
 	host-python-pydal host-python-yatl
 
Signature · 6 lines
2.55.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#5 lore raw
In reply to Thomas Perale via buildroot
Quoted 10 lines · Thomas Perale via buildroot

Vulnerabilities such as [1][2] are assigned to the ogre package with the
cpe: ogre3d:ogre.

To correctly match against those vulnerabilities the CPE_ID_VERSION uses the version without the 'v' prepended.

[1] https://nvd.nist.gov/vuln/detail/CVE-2025-11014
[2] https://nvd.nist.gov/vuln/detail/CVE-2025-11017

Series applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#6 lore raw
In reply to Thomas Perale via buildroot

In reply of:

Quoted 10 lines

Vulnerabilities such as [1][2] are assigned to the ogre package with the
cpe: ogre3d:ogre.

To correctly match against those vulnerabilities the CPE_ID_VERSION uses the version without the 'v' prepended.

[1] https://nvd.nist.gov/vuln/detail/CVE-2025-11014
[2] https://nvd.nist.gov/vuln/detail/CVE-2025-11017

Applied to 2025.02.x & 2026.05.x. Thanks

Quoted 32 lines
---
 package/ogre/ogre.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/ogre/ogre.mk +4 -1
index f3e3fc1d8e..4f19b285be 100644
@@ -4,12 +4,15 @@
 #
 ################################################################################
 
-OGRE_VERSION = v14.4.1
+OGRE_VERSION_UPSTREAM = 14.4.1
+OGRE_VERSION = v$(OGRE_VERSION_UPSTREAM)
 OGRE_SITE = https://github.com/OGRECave/ogre
 OGRE_SITE_METHOD = git
 OGRE_LICENSE = MIT (main library, DeferredShadingMedia samples), Public Domain (samples and plugins)
 OGRE_LICENSE_FILES = LICENSE
 OGRE_INSTALL_STAGING = YES
+OGRE_CPE_ID_VENDOR = ogre3d
+OGRE_CPE_ID_VERSION = $(OGRE_VERSION_UPSTREAM)
 
 # Download with imgui submodule (https://github.com/ocornut/imgui
 OGRE_GIT_SUBMODULES = YES
Signature · 6 lines
2.55.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot