Skip to content

Commit efd7d97

Browse files
authored
Merge pull request #161 from sboldyreva/security
Add CSAF data/update security info
2 parents 7ce7cb3 + 9dc26db commit efd7d97

File tree

3 files changed

+123
-46
lines changed

3 files changed

+123
-46
lines changed

docs/.vuepress/routes.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@
2424
"/els-for-languages/python/#supported-versions": "/els-for-languages/python/#supported-os-and-python-versions",
2525
"/els-for-languages/python/#supported-os": "/els-for-languages/python/#supported-os-and-python-versions",
2626
"/els-for-languages/php/#rpm-based-systems": "/els-for-languages/php/#installation-instructions-for-linux",
27-
"/els-for-languages/php/#deb-based-systems": "/els-for-languages/php/#installation-instructions-for-linux"
27+
"/els-for-languages/php/#deb-based-systems": "/els-for-languages/php/#installation-instructions-for-linux",
28+
"/els-for-languages/php/#introduction": "/els-for-languages/php/#oval-data"
2829
}

docs/els-for-languages/php/README.md

Lines changed: 66 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -262,27 +262,27 @@ To confirm PHP is working:
262262
263263
You can integrate PHP with other tools, for example, IIS or WordPress. For further details and documentation, refer to the [official PHP documentation](https://www.php.net/manual/en/index.php).
264264
265-
## OVAL data
266265
267-
### Introduction
266+
## OVAL data
268267
269268
This section contains information about available ELS for PHP OVAL streams that can be used by vulnerability scanners.
270269
271270
### TuxCare PHP ELS OVAL Streams
272271
273272
Currently, we provide OVAL data for the following OS versions:
274273
275-
* EL 6 (CentOS, CloudLinux, OracleLinux, etc.): [centos6-els-php-oval.xml](https://repo.cloudlinux.com/php-els/centos6-els-php-oval.xml)
276-
* EL 7 (CentOS, CloudLinux, OracleLinux, etc.): [centos7-els-php-oval.xml](https://repo.cloudlinux.com/php-els/centos7-els-php-oval.xml)
277-
* EL 8 (AlmaLinux, CentOS, CloudLinux, OracleLinux, etc.): [centos8-els-php-oval.xml](https://repo.cloudlinux.com/php-els/centos8-els-php-oval.xml)
278-
* EL 9 (AlmaLinux, CentOS, CloudLinux, etc.): [centos9-els-php-oval.xml](https://repo.cloudlinux.com/php-els/centos9-els-php-oval.xml)
279-
* Ubuntu 16.04: [ubuntu16.04-els-php-oval.xml](https://repo.cloudlinux.com/php-els/ubuntu16.04-els-php-oval.xml)
280-
* Ubuntu 18.04: [ubuntu18.04-els-php-oval.xml](https://repo.cloudlinux.com/php-els/ubuntu18.04-els-php-oval.xml)
281-
* Ubuntu 20.04: [ubuntu20.04-els-php-oval.xml](https://repo.cloudlinux.com/php-els/ubuntu20.04-els-php-oval.xml)
282-
* Ubuntu 22.04: [ubuntu22.04-els-php-oval.xml](https://repo.cloudlinux.com/php-els/ubuntu22.04-els-php-oval.xml)
283-
* Debian 10: [debian10-els-php-oval.xml](https://repo.cloudlinux.com/php-els/debian10-els-php-oval.xml)
284-
* Debian 11: [debian11-els-php-oval.xml](https://repo.cloudlinux.com/php-els/debian11-els-php-oval.xml)
285-
* Debian 12: [debian12-els-php-oval.xml](https://repo.cloudlinux.com/php-els/debian12-els-php-oval.xml)
274+
* EL 6 (CentOS, CloudLinux, OracleLinux, etc.): [oval.xml](https://security.tuxcare.com/oval/els_lang_php/el6/oval.xml)
275+
* EL 7 (CentOS, CloudLinux, OracleLinux, etc.): [oval.xml](https://security.tuxcare.com/oval/els_lang_php/el7/oval.xml)
276+
* EL 8 (AlmaLinux, CentOS, CloudLinux, OracleLinux, etc.): [oval.xml](https://security.tuxcare.com/oval/els_lang_php/el8/oval.xml)
277+
* EL 9 (AlmaLinux, CentOS, CloudLinux, etc.): [oval.xml](https://security.tuxcare.com/oval/els_lang_php/el9/oval.xml)
278+
* Ubuntu 16.04: [oval.xml](https://security.tuxcare.com/oval/els_lang_php/ubuntu16.04/oval.xml)
279+
* Ubuntu 18.04: [oval.xml](https://security.tuxcare.com/oval/els_lang_php/ubuntu18.04/oval.xml)
280+
* Ubuntu 20.04: [oval.xml](https://security.tuxcare.com/oval/els_lang_php/ubuntu20.04/oval.xml)
281+
* Ubuntu 22.04: [oval.xml](https://security.tuxcare.com/oval/els_lang_php/ubuntu22.04/oval.xml)
282+
* Ubuntu 24.04: [oval.xml](https://security.tuxcare.com/oval/els_lang_php/ubuntu24.04/oval.xml)
283+
* Debian 10: [oval.xml](https://security.tuxcare.com/oval/els_lang_php/debian10/oval.xml)
284+
* Debian 11: [oval.xml](https://security.tuxcare.com/oval/els_lang_php/debian11/oval.xml)
285+
* Debian 12: [oval.xml](https://security.tuxcare.com/oval/els_lang_php/debian12/oval.xml)
286286
287287
### How to use OVAL
288288
@@ -295,14 +295,12 @@ OVAL can be used with the OpenSCAP tool.
295295
{ title: 'deb', content: 'apt-get install libopenscap8 -y' }
296296
]" />
297297
298-
**Note:** The next steps use CentOS 6 as an example. Please, substitute `centos6-els-php-oval.xml` as needed for your distribution.
299-
300-
2. Download an OVAL stream:
298+
2. Download an OVAL stream. For example, EL 6:
301299
302300
<CodeWithCopy>
303301
304302
```text
305-
wget https://repo.cloudlinux.com/php-els/centos6-els-php-oval.xml
303+
wget https://security.tuxcare.com/oval/els_lang_php/el6/oval.xml
306304
```
307305
308306
</CodeWithCopy>
@@ -312,11 +310,61 @@ OVAL can be used with the OpenSCAP tool.
312310
<CodeWithCopy>
313311
314312
```text
315-
oscap oval eval --results result.xml --report report.xml centos6-els-php-oval.xml
313+
oscap oval eval --results result.xml --report report.xml oval.xml
316314
```
317315

318316
</CodeWithCopy>
319317

318+
## Common Security Advisory Framework
319+
320+
Common Security Advisory Framework (CSAF) is a machine-readable format, standardized by [OASIS](https://www.csaf.io/). It's designed to enable consistent and automated sharing of security advisory information.
321+
322+
TuxCare publishes the following CSAF files at [security.tuxcare.com](https://security.tuxcare.com/csaf/v2/):
323+
* CSAF Vulnerability Exploitability eXchange (VEX) files – indexed by CVE VEX documents are available in CSAF 2.0 format, including past CVEs.
324+
* CSAF Security Advisory files – advisories are published in CSAF 2.0 format and indexed by Security Advisory.
325+
326+
`provider-matadata.json` contains information for tools and users about where and how to retrieve CSAF advisories published by TuxCare. By OASIS requirements, it is available at two URLs (both serving the same file):
327+
* [csaf.data.security.tuxcare.com](https://csaf.data.security.tuxcare.com/)
328+
* [tuxcare.com/.well-known/csaf/provider-metadata.json](https://tuxcare.com/.well-known/csaf/provider-metadata.json)
329+
330+
### TuxCare CSAF data
331+
332+
Currently, we provide CSAF data for the following OS versions:
333+
334+
* EL 6 (CentOS, CloudLinux, OracleLinux, etc.): [security.tuxcare.com/csaf/v2/els_lang_php/el6/](https://security.tuxcare.com/csaf/v2/els_lang_php/el6/)
335+
* EL 7 (CentOS, CloudLinux, OracleLinux, etc.): [security.tuxcare.com/csaf/v2/els_lang_php/el7/](https://security.tuxcare.com/csaf/v2/els_lang_php/el7/)
336+
* EL 8 (AlmaLinux, CentOS, CloudLinux, OracleLinux, etc.): [security.tuxcare.com/csaf/v2/els_lang_php/el8/](https://security.tuxcare.com/csaf/v2/els_lang_php/el8/)
337+
* EL 9 (AlmaLinux, CentOS, CloudLinux, etc.): [security.tuxcare.com/csaf/v2/els_lang_php/el9/](https://security.tuxcare.com/csaf/v2/els_lang_php/el9/)
338+
* Ubuntu 16.04: [security.tuxcare.com/csaf/v2/els_lang_php/ubuntu16.04/](https://security.tuxcare.com/csaf/v2/els_lang_php/ubuntu16.04/)
339+
* Ubuntu 18.04: [security.tuxcare.com/csaf/v2/els_lang_php/ubuntu18.04/](https://security.tuxcare.com/csaf/v2/els_lang_php/ubuntu18.04/)
340+
* Ubuntu 20.04: [security.tuxcare.com/csaf/v2/els_lang_php/ubuntu20.04/](https://security.tuxcare.com/csaf/v2/els_lang_php/ubuntu20.04/)
341+
* Ubuntu 22.04: [security.tuxcare.com/csaf/v2/els_lang_php/ubuntu22.04/](https://security.tuxcare.com/csaf/v2/els_lang_php/ubuntu22.04/)
342+
* Ubuntu 24.04 [security.tuxcare.com/csaf/v2/els_lang_php/ubuntu24.04/](https://security.tuxcare.com/csaf/v2/els_lang_php/ubuntu24.04/)
343+
* Debian 10: [security.tuxcare.com/csaf/v2/els_lang_php/debian10/](https://security.tuxcare.com/csaf/v2/els_lang_php/debian10/)
344+
* Debian 11: [security.tuxcare.com/csaf/v2/els_lang_php/debian11/](https://security.tuxcare.com/csaf/v2/els_lang_php/debian11/)
345+
* Debian 12: [security.tuxcare.com/csaf/v2/els_lang_php/debian12/](https://security.tuxcare.com/csaf/v2/els_lang_php/debian12/)
346+
347+
### How to Use CSAF
348+
349+
The CSAF files are published in JSON format which is easy to parse and integrate with other tools - OASIS provides a [list of reference tools](https://www.csaf.io/tools.html) that support CSAF.
350+
351+
## Errata
352+
353+
Currently, we provide errata for the following OS versions:
354+
355+
* EL 6 (CentOS, CloudLinux, OracleLinux, etc.): [security.tuxcare.com/errata/els_lang_php/el6/](https://security.tuxcare.com/errata/els_lang_php/el6/)
356+
* EL 7 (CentOS, CloudLinux, OracleLinux, etc.): [security.tuxcare.com/errata/els_lang_php/el7/](https://security.tuxcare.com/errata/els_lang_php/el7/)
357+
* EL 8 (AlmaLinux, CentOS, CloudLinux, OracleLinux, etc.): [security.tuxcare.com/errata/els_lang_php/el8/](https://security.tuxcare.com/errata/els_lang_php/el8/)
358+
* EL 9 (AlmaLinux, CentOS, CloudLinux, etc.): [security.tuxcare.com/errata/els_lang_php/el9/](https://security.tuxcare.com/errata/els_lang_php/el9/)
359+
* Ubuntu 16.04: [security.tuxcare.com/errata/els_lang_php/ubuntu16.04/](https://security.tuxcare.com/errata/els_lang_php/ubuntu16.04/)
360+
* Ubuntu 18.04: [security.tuxcare.com/errata/els_lang_php/ubuntu18.04/](https://security.tuxcare.com/errata/els_lang_php/ubuntu18.04/)
361+
* Ubuntu 20.04: [security.tuxcare.com/errata/els_lang_php/ubuntu20.04/](https://security.tuxcare.com/errata/els_lang_php/ubuntu20.04/)
362+
* Ubuntu 22.04: [security.tuxcare.com/errata/els_lang_php/ubuntu22.04/](https://security.tuxcare.com/errata/els_lang_php/ubuntu22.04/)
363+
* Ubuntu 24.04 [security.tuxcare.com/errata/els_lang_php/ubuntu24.04/](https://security.tuxcare.com/errata/els_lang_php/ubuntu24.04/)
364+
* Debian 10: [security.tuxcare.com/errata/els_lang_php/debian10/](https://security.tuxcare.com/errata/els_lang_php/debian10/)
365+
* Debian 11: [security.tuxcare.com/errata/els_lang_php/debian11/](https://security.tuxcare.com/errata/els_lang_php/debian11/)
366+
* Debian 12: [security.tuxcare.com/errata/els_lang_php/debian12/](https://security.tuxcare.com/errata/els_lang_php/debian12/)
367+
320368
## PHP extensions list
321369

322370
You can find the list of the supported add-ons [here](https://docs.cloudlinux.com/cloudlinuxos/alt-ea_packages/#bundled-php-extensions).

0 commit comments

Comments
 (0)