<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:55:13 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[CONTROLLER-1315] restconf allows alphabetical characters and non-numerical symbols for the flow id field</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1315</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Alphabetical characters and non-numerical symbol are inappropriately allowed as flow ID.  There is potential for exploitation with characters such as &apos;$&apos; and &apos;@&apos;.  Thus, flow IDs like &apos;abc&apos;, or &apos;---&apos; are accepted by restconf.&lt;/p&gt;

&lt;p&gt;An example of a REST PUT call utilizing &quot;---&quot; as the flow ID that was accepted by the controller is shown below:&lt;/p&gt;

&lt;p&gt;PUT http://&amp;lt;controller-ip&amp;gt;:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/flow/--- &lt;del&gt;d &apos;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&amp;gt;&amp;lt;flow xmlns=&quot;urn:opendaylight:flow:inventory&quot;&amp;gt;&amp;lt;hard-timeout&amp;gt;0&amp;lt;/hard-timeout&amp;gt;&amp;lt;idle-timeout&amp;gt;0&amp;lt;/idle-timeout&amp;gt;&amp;lt;priority&amp;gt;2&amp;lt;/priority&amp;gt;&amp;lt;flow-name&amp;gt;flow1&amp;lt;/flow-name&amp;gt;&amp;lt;match&amp;gt;&amp;lt;ethernet-match&amp;gt;&amp;lt;ethernet-type&amp;gt;&amp;lt;type&amp;gt;2048&amp;lt;/type&amp;gt;&amp;lt;/ethernet-type&amp;gt;&amp;lt;/ethernet-match&amp;gt;&amp;lt;ipv4-destination&amp;gt;10.0.0.1/32&amp;lt;/ipv4-destination&amp;gt;&amp;lt;/match&amp;gt;&amp;lt;id&amp;gt;&lt;/del&gt;--&amp;lt;/id&amp;gt;&amp;lt;table_id&amp;gt;0&amp;lt;/table_id&amp;gt;&amp;lt;instructions&amp;gt;&amp;lt;instruction&amp;gt;&amp;lt;order&amp;gt;0&amp;lt;/order&amp;gt;&amp;lt;apply-actions&amp;gt;&amp;lt;action&amp;gt;&amp;lt;output-action&amp;gt;&amp;lt;output-node-connector&amp;gt;1&amp;lt;/output-node-connector&amp;gt;&amp;lt;/output-action&amp;gt;&amp;lt;order&amp;gt;0&amp;lt;/order&amp;gt;&amp;lt;/action&amp;gt;&amp;lt;/apply-actions&amp;gt;&amp;lt;/instruction&amp;gt;&amp;lt;/instructions&amp;gt;&amp;lt;/flow&amp;gt;&apos;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25869">CONTROLLER-1315</key>
            <summary>restconf allows alphabetical characters and non-numerical symbols for the flow id field</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="rgoulding">Ryan Goulding</reporter>
                        <labels>
                    </labels>
                <created>Wed, 13 May 2015 16:34:44 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:02 +0000</updated>
                            <resolved>Thu, 14 May 2015 11:08:38 +0000</resolved>
                                                                    <component>restconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="50634" author="tony.tkacik@gmail.com" created="Thu, 14 May 2015 11:08:38 +0000"  >&lt;p&gt;id in openflow model is modeled as string, so openflow model allows such keys and is correct for restconf to accept them.&lt;/p&gt;

&lt;p&gt;Marking is as Resolved - INVALID - since Restconf is behaving correctly according&lt;br/&gt;
to model of flow.&lt;/p&gt;

&lt;p&gt;If you still see this as a bug, please open issue against openflowplugin with your&lt;br/&gt;
rationale why id in flow model should be changed to number instead of string.&lt;/p&gt;

&lt;p&gt;Could you please elaborate how characters such &quot;$&quot; or &quot;@&quot; may present security flaw?&lt;/p&gt;

&lt;p&gt;Restconf / MD-SAL / Clustering / Netconf is not interpreting this characters and treats them as pure strings.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3207</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=3207]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02ptb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>