Having received security warnings for the last ten days or so about textproc/libxml2 I wondered why FreeBSD uses an unsupported version and tried to contact the maintainer, only to find the maintainer is a mailing list of which I'm not a member. Ah well, I expect I know the answer anyway - libxml2 is a library providing functions for any program which needs to process XML and there are a lot of those, so checking the compatibility of newer versions wouldn't be trivial.
In my case the library is needed by www/apache24 which seems alarming because that's an Internet-facing program and therefore particularly vulnerable to any attack. However, I then asked myself why Apache would need to parse XML. After all, it's basically a file server and its job is simply to pass a bit-for-bit copy of any file across the network. It doesn't need to understand that file or even know what that file is for, just send it as it is. So, would I be right in thinking the only reason Apache needs libxml2 is to read its own configuration files and convert the XML (or XML-like) data in those into database structures or objects?
If so, then vulnerabilities are less of a worry because the only person writing those files is the administrator, and if anyone else could alter those the system would already be so compromised a vulnerability wouldn't matter!
In my case the library is needed by www/apache24 which seems alarming because that's an Internet-facing program and therefore particularly vulnerable to any attack. However, I then asked myself why Apache would need to parse XML. After all, it's basically a file server and its job is simply to pass a bit-for-bit copy of any file across the network. It doesn't need to understand that file or even know what that file is for, just send it as it is. So, would I be right in thinking the only reason Apache needs libxml2 is to read its own configuration files and convert the XML (or XML-like) data in those into database structures or objects?
If so, then vulnerabilities are less of a worry because the only person writing those files is the administrator, and if anyone else could alter those the system would already be so compromised a vulnerability wouldn't matter!