Debian Codegraph @

tests/probes/textfilecontent54/test_recursion_limit.oval.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <oval_definitions xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:ind="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd">
3 <generator>
4 <oval:schema_version>5.11.1</oval:schema_version>
5 <oval:timestamp>0001-01-01T00:00:00+00:00</oval:timestamp>
6 </generator>
7
8 <definitions>
9 <definition class="compliance" version="1" id="oval:x:def:1">
10 <metadata>
11 <title>The regular expression and the provided file should exceed recursion limits within pcre_exec used in the probe and cause a segfault.</title>
12 <description>x</description>
13 <affected family="unix">
14 <platform>x</platform>
15 </affected>
16 </metadata>
17 <criteria>
18 <criterion test_ref="oval:x:tst:1" comment="always pass"/>
19 </criteria>
20 </definition>
21 </definitions>
22
23 <tests>
24 <ind:textfilecontent54_test id="oval:x:tst:1" version="1" comment="Match 3 audit rules" check="all">
25 <ind:object object_ref="oval:x:obj:1"/>
26 </ind:textfilecontent54_test>
27 </tests>
28
29 <objects>
30 <ind:textfilecontent54_object id="oval:x:obj:1" version="1" comment="Object representing file">
31 <ind:path>/tmp</ind:path>
32 <ind:filename>30-ospp-v42.rules</ind:filename>
33 <ind:pattern operation="pattern match">-a always,exit -F arch=b32 -S openat,open_by_handle_at -F a2&amp;0100 -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=unsuccesful-create(?:[^.]|\.\s)*-a always,exit -F arch=b32 -S openat,open_by_handle_at -F a2&amp;01003 -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=unsuccesful-modification(?:[^.]|\.\s)*-a always,exit -F arch=b32 -S open,creat,truncate,ftruncate,openat,open_by_handle_at -F exit=-EACCES -F auid>=1000 -F auid!=unset -F key=unsuccesful-access</ind:pattern>
34 <ind:instance datatype="int" operation="greater than or equal">1</ind:instance>
35 </ind:textfilecontent54_object>
36 </objects>
37
38 </oval_definitions>