Page MenuHomeFreeBSD

wordpress -- multiple issues
ClosedPublic

Authored by joneum on Nov 1 2017, 6:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 1, 12:29 PM
Unknown Object (File)
Jan 14 2024, 6:02 PM
Unknown Object (File)
Dec 17 2023, 12:04 AM
Unknown Object (File)
Nov 11 2023, 7:44 AM
Unknown Object (File)
Nov 9 2023, 1:44 PM
Unknown Object (File)
Nov 7 2023, 11:09 PM
Unknown Object (File)
Nov 5 2023, 6:00 PM
Unknown Object (File)
Nov 1 2023, 1:33 AM
Subscribers

Details

Summary

Document wordpress issues

Approved by: xxx (mentor)
#Differential Revision: https://reviews.freebsd.org/Dxxxxx

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 12384
Build 12661: arc lint + arc unit

Event Timeline

security/vuxml/vuln.xml
61

indentation?

security/vuxml/vuln.xml
61

???

security/vuxml/vuln.xml
61

Macro makeitso: spaaaaaaace[s]

security/vuxml/vuln.xml
72

^ it puts the url in the basket

security/vuxml/vuln.xml
66

^ you have to respect PORTEPOCH

5 PORTVERSION=    4.8.2
6 PORTEPOCH=      1

https://www.freebsd.org/doc/en/books/porters-handbook/security-notify.html:
The version ranges have to allow for PORTEPOCH and PORTREVISION if applicable. Please remember that according to the collation rules, a version with a non-zero PORTEPOCH is greater than any version without PORTEPOCH, for example, 3.0,1 is greater than 3.1 or even than 8.9.

You need the ",1" in the <lt>

#  pkg audit -f security/vuxml/vuln.xml wordpress-4.8.2,1
wordpress-4.8.2,1 is vulnerable:
wordpress -- multiple issues
WWW: https://vuxml.FreeBSD.org/freebsd/cee3d12f-bf41-11e7-bced-00e04c1ea73d.html

1 problem(s) in the installed packages found.
 #  pkg audit -f security/vuxml/vuln.xml wordpress-4.8.3,1
0 problem(s) in the installed packages found.

otherwise you'll still have

#  pkg audit -f security/vuxml/vuln.xml wordpress-4.8.2,1
0 problem(s) in the installed packages found.
This revision is now accepted and ready to land.Nov 1 2017, 9:13 PM

Looking at your commit for the wordpresses, I noticed, that this needs some more wokr, as not all the wordpress ports have PORTEPOCH. This will be fun :)

This revision is now accepted and ready to land.Nov 1 2017, 9:39 PM

Can you look into ports r435685 how it was done there?
To handle the different worpdress ports properly -- sorry, I did not catch that earlier.

Looking at the pkgnames

zh-wordpress-zh_CN-4.8.1
zh-wordpress-zh_TW-4.8.2
fr-wordpress-4.8.3,1
de-wordpress-4.8.3
ja-wordpress-4.8.3
ru-wordpress-4.8.3
wordpress-4.8.3,1

you could probably do something like

63     <affects>
64       <package>
65         <name>wordpress</name>
66         <name>fr-wordpress</name>
67         <range><lt>4.8.3,1</lt></range>
68       </package>
69       <package>
70         <name>de-wordpress</name>
71         <name>ja-wordpress</name>
72         <name>ru-wordpress</name>
73         <range><lt>4.8.3</lt></range>
74       </package>
75     </affects>
This revision now requires changes to proceed.Nov 1 2017, 10:30 PM
security/vuxml/vuln.xml
61

:D
If no Picard is there to help, just use "make validate". It will also complain about indentation and also create one file with correct space.

Has been made obsolete by the recent newest vulnerability :D

This revision is now accepted and ready to land.Dec 1 2017, 10:48 PM