Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Fortify issues #318

Open
tchaitrali opened this issue Apr 24, 2020 · 5 comments
Open

Fortify issues #318

tchaitrali opened this issue Apr 24, 2020 · 5 comments

Comments

@tchaitrali
Copy link

Following fortify issues are reported on these xsd files. Are there any plans to fix these issues?

  • Weak XML Schema: Lax Processing
  • Weak XML Schema: Type Any
  • Weak XML Schema: Unbounded Occurrences
  • Weak XML Schema: Undefined Namespace
@solind
Copy link
Contributor

solind commented Apr 24, 2020

I'm sorry, but what exactly are "fortify" issues, i.e., whence do these complaints arise?

The lax processing, any type allowances and unbounded occurrence instances were all quite intentionally designed into the OVAL schemas. And they are also all quite irreversible without breaking backwards-compatibility.

I am curious about the "undefined namespace". I believe all the namespaces are well-defined.

@tchaitrali
Copy link
Author

Thanks for the reply.
Fortify issues - When we used Fortify Software Security Center, it gave above list of issues for xsd files.
Please refer following for "Undefined Namespace":
https://vulncat.fortify.com/en/detail?id=desc.config.xml.weak_xml_schema_undefined_namespace

@solind
Copy link
Contributor

solind commented May 8, 2020

The "undefined namespace" issue is a side-effect of allowing the use of custom metadata schemas. This is a feature of OVAL as well.

Using a tool such as Fortify to perform static analysis can be very useful, but you are still left with the burden of having to understand and interpret its output. If you do not believe that you can trust the schema-aware XML processor you've chosen to ingest OVAL content directly, you are free to create your own more restrictive schemas and live without the features that you've chosen to eliminate. But the OVAL community has no immediate plans to do so.

@tchaitrali
Copy link
Author

tchaitrali commented May 27, 2020 via email

@tchaitrali
Copy link
Author

tchaitrali commented May 27, 2020 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants