Bug 1642283
| Summary: | NULL pointer dereference in cvrf_priv.c:cvrf_model_filter_by_cpe() with `oscap cvrf eval` | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Sam Fowler <sfowler> |
| Component: | openscap | Assignee: | Jan Černý <jcerny> |
| Status: | CLOSED ERRATA | QA Contact: | Matus Marhefka <mmarhefk> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 7.5 | CC: | jcerny, matyc, mhaicman, openscap-maint, sfowler |
| Target Milestone: | rc | Flags: | lcervako:
mirror+
|
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | openscap-1.2.17-10.el7 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-09-29 19:53:30 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Sam Fowler
2018-10-24 06:33:12 UTC
It is important to say that CVRF module in OpenSCAP doesn't work at all. I can reproduce the segmentation fault. I could do a quick patch for the segfault, but result would be it will print out some error message instead. I also noticed that the CVRF document you linked has root element "Cvrfs", but according to CVRF v1.1 XML schema it should be "cvrfdoc". Is that document following a different standard? Do you have an intention to use CVRF? Is there any possible use-case for it? (In reply to Jan Černý from comment #2) > It is important to say that CVRF module in OpenSCAP doesn't work at all. > > I can reproduce the segmentation fault. I could do a quick patch for the > segfault, but result would be it will print out some error message instead. I suspected the CVRF module was not supported, but it was not clear to me. I would definitely prefer a meaningful error message to a segfault. > I also noticed that the CVRF document you linked has root element "Cvrfs", > but according to CVRF v1.1 XML schema it should be "cvrfdoc". Is that > document following a different standard? I'm not familiar enough with the standards to say. > Do you have an intention to use CVRF? Is there any possible use-case for it? I don't have any specific use-case for CVRF. I was just exploring different uses of Red Hat's security data with oscap when I stumbled across the crash. The segmentation fault has been fixed in upstream in https://github.com/OpenSCAP/openscap/pull/1252 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (openscap bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:3914 |