Discussion:
SecDir review of draft-ietf-appsawg-file-scheme-14
Barry Leiba
2016-11-29 18:49:12 UTC
Permalink
I have reviewed this document as part of the security directorate's
ongoing effort to review all IETF documents being processed by the
IESG. These comments were written primarily for the benefit of the
security area directors. Document editors and WG chairs should treat
these comments just like any other last call comments.

Thanks for finally getting this through. I think the document is
ready with nits; my detailed comments are below.

It’s a tiny thing, but where the abstract says “replacing the
definition in RFC 1738,” one may be led to think (I was) that 1738 has
a more robust definition than it does. D’you mind changing that to
something like this: ‘This document provides a full specification of
the "file" Uniform Resource Identifier (URI) scheme, replacing the
very brief definition in Section 3.10 of RFC 1738.’

The Security Considerations section is well thought out; thanks. The
only thing I can think of that might be added is a few words about
non-local file URIs. Section 3 says two significant things that
should be highlighted in a security consideration:
1. A file URI can be dependably dereferenced or translated to a local
file path only if it is local.
2. This specification neither defines nor forbids any set of
operations that might be performed on a file identified by a non-local
file URI.

Given those two things, I think it would be worth explicitly saying
that treating a non-local URI as local or otherwise attempting to
perform local operations on a non-local URI can result in security
problems.

Matthew’s name and address will be on the RFC, of course, but is that
really the best choice for contact information for the scheme in the
registry? Or would it be better to point people to “Applications and
Real-Time Area <***@ietf.org>” ? In general, we seem to have mixed
feelings about listing individuals as contact points for things
registered by working group documents (and I fall on the “avoid using
specific individuals” side, because individuals often come and go over
relatively short time).

The “References” in the registry template should just be “this RFC”,
and this RFC number will appear in the registry.

A bit of process geekery:
In the Acknowledgments, you say…
This specification is derived from [RFC1738], [RFC3986], and
[I-D.hoffman-file-uri] (expired); the acknowledgements in those
documents still apply.

I don’t imagine there’s actually text from 1738 in here (is there?).
How much text is here from 3986? I’m not talking about concepts, but
actual text that was brought over. If there is, have you made sure
that all authors of the documents you got text from agree to the terms
of BCPs 78 & 79 ? If not, there might need to be a pre-5378
disclaimer in the boilerplate. I suspect we’re OK, because we’re
mostly talking about Larry, Roy, and TimBL, but I just wanted to
check.

(I personally think the acknowledgments text above is a bit much,
unless you’ve really copied a lot of text from those RFCs. But that’s
your section to do with as you think best.)

References:
I don’t think BCP35 is normative, and I’d move it to informative.
I don’t think UAX15 is normative, and I’d move it to informative.
I think UTF-8 is normative (as you have it), but UNICODE is not.
Others might disagree with that.
I think I would make RFC 6454 normative, only because it’s listed as a
reference for “the most secure option” in the Security Considerations.

Barry
Paul Hoffman
2016-11-29 19:04:25 UTC
Permalink
Post by Barry Leiba
I have reviewed this document as part of the security directorate's
ongoing effort to review all IETF documents being processed by the
IESG. These comments were written primarily for the benefit of the
security area directors. Document editors and WG chairs should treat
these comments just like any other last call comments.
Thanks for finally getting this through. I think the document is
ready with nits; my detailed comments are below.
It’s a tiny thing, but where the abstract says “replacing the
definition in RFC 1738,” one may be led to think (I was) that 1738 has
a more robust definition than it does. D’you mind changing that to
something like this: ‘This document provides a full specification of
the "file" Uniform Resource Identifier (URI) scheme, replacing the
very brief definition in Section 3.10 of RFC 1738.’
Agree. (Humorously, I have some standing here; see below.)
Post by Barry Leiba
The Security Considerations section is well thought out; thanks. The
only thing I can think of that might be added is a few words about
non-local file URIs. Section 3 says two significant things that
1. A file URI can be dependably dereferenced or translated to a local
file path only if it is local.
2. This specification neither defines nor forbids any set of
operations that might be performed on a file identified by a non-local
file URI.
Given those two things, I think it would be worth explicitly saying
that treating a non-local URI as local or otherwise attempting to
perform local operations on a non-local URI can result in security
problems.
Agree.
Post by Barry Leiba
Matthew’s name and address will be on the RFC, of course, but is that
really the best choice for contact information for the scheme in the
registry? Or would it be better to point people to “Applications and
feelings about listing individuals as contact points for things
registered by working group documents (and I fall on the “avoid using
specific individuals” side, because individuals often come and go over
relatively short time).
Agree.
Post by Barry Leiba
The “References” in the registry template should just be “this RFC”,
and this RFC number will appear in the registry.
In the Acknowledgments, you say…
This specification is derived from [RFC1738], [RFC3986], and
[I-D.hoffman-file-uri] (expired); the acknowledgements in those
documents still apply.
I don’t imagine there’s actually text from 1738 in here (is there?).
How much text is here from 3986? I’m not talking about concepts, but
actual text that was brought over. If there is, have you made sure
that all authors of the documents you got text from agree to the terms
of BCPs 78 & 79 ? If not, there might need to be a pre-5378
disclaimer in the boilerplate. I suspect we’re OK, because we’re
mostly talking about Larry, Roy, and TimBL, but I just wanted to
check.
(I personally think the acknowledgments text above is a bit much,
unless you’ve really copied a lot of text from those RFCs. But that’s
your section to do with as you think best.)
I remember that draft-hoffman-file-uri copied from 1739 and 3986. I also
remember running away sobbing from the draft, so I appreciate that
someone with more fortitude took it up again.
Post by Barry Leiba
I don’t think BCP35 is normative, and I’d move it to informative.
I don’t think UAX15 is normative, and I’d move it to informative.
I think UTF-8 is normative (as you have it), but UNICODE is not.
Others might disagree with that.
I agree with all those.
Post by Barry Leiba
I think I would make RFC 6454 normative, only because it’s listed as a
reference for “the most secure option” in the Security
Considerations.
Sure.

--Paul Hoffman
Matthew Kerwin
2016-12-07 01:02:56 UTC
Permalink
Thanks Barry (and Paul),

I agree with everything you've written here, and I don't think any of it's too controversial, so I'll work it all in to my copy pretty much exactly as you've suggested.

The acknowledgements is hung over from the very first versions of the draft, which cribbed a lot from Paul's old draft. I'm pretty sure it's been completely rewritten several times since then, so I will definitely redo the acks.

Cheers
--
Matthew Kerwin | Queensland University of Technology | ***@qut.edu.au | CRICOS No 00213J
________________________________
From: ***@gmail.com <***@gmail.com> on behalf of Barry Leiba <***@computer.org>
Sent: 30 November 2016 04:49:12
To: draft-ietf-appsawg-file-***@ietf.org; ***@ietf.org
Cc: IETF discussion list; ***@ietf.org
Subject: SecDir review of draft-ietf-appsawg-file-scheme-14

I have reviewed this document as part of the security directorate's
ongoing effort to review all IETF documents being processed by the
IESG. These comments were written primarily for the benefit of the
security area directors. Document editors and WG chairs should treat
these comments just like any other last call comments.

Thanks for finally getting this through. I think the document is
ready with nits; my detailed comments are below.

It’s a tiny thing, but where the abstract says “replacing the
definition in RFC 1738,” one may be led to think (I was) that 1738 has
a more robust definition than it does. D’you mind changing that to
something like this: ‘This document provides a full specification of
the "file" Uniform Resource Identifier (URI) scheme, replacing the
very brief definition in Section 3.10 of RFC 1738.’

The Security Considerations section is well thought out; thanks. The
only thing I can think of that might be added is a few words about
non-local file URIs. Section 3 says two significant things that
should be highlighted in a security consideration:
1. A file URI can be dependably dereferenced or translated to a local
file path only if it is local.
2. This specification neither defines nor forbids any set of
operations that might be performed on a file identified by a non-local
file URI.

Given those two things, I think it would be worth explicitly saying
that treating a non-local URI as local or otherwise attempting to
perform local operations on a non-local URI can result in security
problems.

Matthew’s name and address will be on the RFC, of course, but is that
really the best choice for contact information for the scheme in the
registry? Or would it be better to point people to “Applications and
Real-Time Area <***@ietf.org>” ? In general, we seem to have mixed
feelings about listing individuals as contact points for things
registered by working group documents (and I fall on the “avoid using
specific individuals” side, because individuals often come and go over
relatively short time).

The “References” in the registry template should just be “this RFC”,
and this RFC number will appear in the registry.

A bit of process geekery:
In the Acknowledgments, you say…
This specification is derived from [RFC1738], [RFC3986], and
[I-D.hoffman-file-uri] (expired); the acknowledgements in those
documents still apply.

I don’t imagine there’s actually text from 1738 in here (is there?).
How much text is here from 3986? I’m not talking about concepts, but
actual text that was brought over. If there is, have you made sure
that all authors of the documents you got text from agree to the terms
of BCPs 78 & 79 ? If not, there might need to be a pre-5378
disclaimer in the boilerplate. I suspect we’re OK, because we’re
mostly talking about Larry, Roy, and TimBL, but I just wanted to
check.

(I personally think the acknowledgments text above is a bit much,
unless you’ve really copied a lot of text from those RFCs. But that’s
your section to do with as you think best.)

References:
I don’t think BCP35 is normative, and I’d move it to informative.
I don’t think UAX15 is normative, and I’d move it to informative.
I think UTF-8 is normative (as you have it), but UNICODE is not.
Others might disagree with that.
I think I would make RFC 6454 normative, only because it’s listed as a
reference for “the most secure option” in the Security Considerations.

Barry
Barry Leiba
2016-12-07 01:42:43 UTC
Permalink
Thanks, Matthew!

b
Post by Matthew Kerwin
Thanks Barry (and Paul),
I agree with everything you've written here, and I don't think any of it's
too controversial, so I'll work it all in to my copy pretty much exactly
as you've suggested.
The acknowledgements is hung over from the very first versions of the
draft, which cribbed a lot from Paul's old draft. I'm pretty sure it's been
completely rewritten several times since then, so I will definitely redo
the acks.
Cheers
--
Matthew Kerwin | Queensland University of Technology |
________________________________
Sent: 30 November 2016 04:49:12
Subject: SecDir review of draft-ietf-appsawg-file-scheme-14
I have reviewed this document as part of the security directorate's
ongoing effort to review all IETF documents being processed by the
IESG. These comments were written primarily for the benefit of the
security area directors. Document editors and WG chairs should treat
these comments just like any other last call comments.
Thanks for finally getting this through. I think the document is
ready with nits; my detailed comments are below.
It’s a tiny thing, but where the abstract says “replacing the
definition in RFC 1738,” one may be led to think (I was) that 1738 has
a more robust definition than it does. D’you mind changing that to
something like this: ‘This document provides a full specification of
the "file" Uniform Resource Identifier (URI) scheme, replacing the
very brief definition in Section 3.10 of RFC 1738.’
The Security Considerations section is well thought out; thanks. The
only thing I can think of that might be added is a few words about
non-local file URIs. Section 3 says two significant things that
1. A file URI can be dependably dereferenced or translated to a local
file path only if it is local.
2. This specification neither defines nor forbids any set of
operations that might be performed on a file identified by a non-local
file URI.
Given those two things, I think it would be worth explicitly saying
that treating a non-local URI as local or otherwise attempting to
perform local operations on a non-local URI can result in security
problems.
Matthew’s name and address will be on the RFC, of course, but is that
really the best choice for contact information for the scheme in the
registry? Or would it be better to point people to “Applications and
feelings about listing individuals as contact points for things
registered by working group documents (and I fall on the “avoid using
specific individuals” side, because individuals often come and go over
relatively short time).
The “References” in the registry template should just be “this RFC”,
and this RFC number will appear in the registry.
In the Acknowledgments, you say

This specification is derived from [RFC1738], [RFC3986], and
[I-D.hoffman-file-uri] (expired); the acknowledgements in those
documents still apply.
I don’t imagine there’s actually text from 1738 in here (is there?).
How much text is here from 3986? I’m not talking about concepts, but
actual text that was brought over. If there is, have you made sure
that all authors of the documents you got text from agree to the terms
of BCPs 78 & 79 ? If not, there might need to be a pre-5378
disclaimer in the boilerplate. I suspect we’re OK, because we’re
mostly talking about Larry, Roy, and TimBL, but I just wanted to
check.
(I personally think the acknowledgments text above is a bit much,
unless you’ve really copied a lot of text from those RFCs. But that’s
your section to do with as you think best.)
I don’t think BCP35 is normative, and I’d move it to informative.
I don’t think UAX15 is normative, and I’d move it to informative.
I think UTF-8 is normative (as you have it), but UNICODE is not.
Others might disagree with that.
I think I would make RFC 6454 normative, only because it’s listed as a
reference for “the most secure option” in the Security Considerations.
Barry
Larry Masinter
2016-12-07 02:03:13 UTC
Permalink
It’s a tiny thing, but where the abstract says “replacing the
definition in RFC 1738,” one may be led to think (I was) that 1738 has
a more robust definition than it does. D’you mind changing that to
something like this: ‘This document provides a full specification of
the "file" Uniform Resource Identifier (URI) scheme, replacing the
very brief definition in Section 3.10 of RFC 1738.’

s/full/more complete/

A “full” specification of file: URIs might include a set of platform and file-system specific implementation advice about how to handle file naming, variations in Unicode normalization, case sensitivity, and so fort
Larry Masinter
2016-12-07 05:45:32 UTC
Permalink
Just to be clear: I think the level of specification in this document
is appropriate and a "full" specification would be intractable.

But it would be useful to be just a bit more explicit about the things
that you should figure out before implementing (about what
other implementations do on the same platform).

Larry
--
http://larry.masinter.net
-----Original Message-----
Sent: Tuesday, December 6, 2016 6:03 PM
Subject: Re: SecDir review of draft-ietf-appsawg-file-scheme-14
It’s a tiny thing, but where the abstract says “replacing the
definition in RFC 1738,” one may be led to think (I was) that 1738 has
a more robust definition than it does. D’you mind changing that to
something like this: ‘This document provides a full specification of
the "file" Uniform Resource Identifier (URI) scheme, replacing the
very brief definition in Section 3.10 of RFC 1738.’
s/full/more complete/
A “full” specification of file: URIs might include a set of platform and
file-system specific implementation advice about how to handle file
naming, variations in Unicode normalization, case sensitivity, and so
forth.
Allistair Brown
2016-12-07 07:10:45 UTC
Permalink
Hi everyone, please remove me from this email thread. Thank you.





-----Original Message-----
From: art [mailto:art-***@ietf.org] On Behalf Of Larry Masinter
Sent: 07 December 2016 07:46 AM
To: Larry Masinter; Matthew Kerwin; Barry Leiba; draft-ietf-appsawg-file-***@ietf.org; ***@ietf.org
Cc: ***@ietf.org; IETF discussion list; ***@vpnc.org
Subject: Re: [art] SecDir review of draft-ietf-appsawg-file-scheme-14

Just to be clear: I think the level of specification in this document is appropriate and a "full" specification would be intractable.

But it would be useful to be just a bit more explicit about the things that you should figure out before implementing (about what other implementations do on the same platform).

Larry
--
http://larry.masinter.net
-----Original Message-----
Sent: Tuesday, December 6, 2016 6:03 PM
Subject: Re: SecDir review of draft-ietf-appsawg-file-scheme-14
It’s a tiny thing, but where the abstract says “replacing the
definition in RFC 1738,” one may be led to think (I was) that 1738 has
a more robust definition than it does. D’you mind changing that to
something like this: ‘This document provides a full specification of
the "file" Uniform Resource Identifier (URI) scheme, replacing the
very brief definition in Section 3.10 of RFC 1738.’
s/full/more complete/
A “full” specification of file: URIs might include a set of platform
and file-system specific implementation advice about how to handle
file naming, variations in Unicode normalization, case sensitivity,
and so forth.
Loading...